Skip to content

Commit

Permalink
Fix a compiler warning, remove unused object.
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jan 27, 2024
1 parent aa81e8d commit f95b324
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/ContinuousBuffer.cpp
Expand Up @@ -6,13 +6,6 @@
namespace test
{

namespace
{

TestBufferObjectProvider _testBufferObjectProvider;

}

template<typename T>
bool checkData(render::ContinuousBuffer<T>& buffer, typename render::ContinuousBuffer<T>::Handle handle, const std::vector<T>& data)
{
Expand Down Expand Up @@ -638,7 +631,7 @@ TEST(ContinuousBufferTest, SyncToBufferAfterApplyingTransaction)
});

// Apply this transaction to the first buffer
buffer.applyTransactions(transactionLog, buffer2, [&](render::IGeometryStore::Slot slot) { return slot; });
buffer.applyTransactions(transactionLog, buffer2, [&](render::IGeometryStore::Slot slot) { return static_cast<uint32_t>(slot); });

// Sync it should modify a subset of the buffer object only
buffer.syncModificationsToBufferObject(bufferObject);
Expand Down

0 comments on commit f95b324

Please sign in to comment.