Skip to content

Commit

Permalink
Memory allocator: fix unittest build
Browse files Browse the repository at this point in the history
  • Loading branch information
kimkulling committed Nov 12, 2024
1 parent 0ed84a8 commit 661c2bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/memory/TScratchAllocatorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ using namespace cppcore;

class TScratchAllocatorTest : public testing::Test {
public:
static constexpr size_t BufferSize = 1024u;
const size_t BufferSize = 1024u;
};

TEST_F(TScratchAllocatorTest, CreateTest) {
Expand Down Expand Up @@ -64,3 +64,4 @@ TEST_F(TScratchAllocatorTest, ClearTest) {
EXPECT_EQ(myAllocator.capacity(), 0u);
EXPECT_EQ(myAllocator.freeMem(), 0u);
}

0 comments on commit 661c2bc

Please sign in to comment.