diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-10-03 14:16:37 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-10-03 16:52:39 +0000 |
commit | f1eeba4aee1020625205ccf5223128ad8f68265b (patch) | |
tree | 02bbe562c1e1c4d4f76e9037a05daf363953f446 /memfilepersistence/src/tests/spi | |
parent | 468fc26fb7f543f4d55e18d381848920047daf75 (diff) |
Handle variations to alignment smoother.
Diffstat (limited to 'memfilepersistence/src/tests/spi')
-rw-r--r-- | memfilepersistence/src/tests/spi/buffer_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/memfilepersistence/src/tests/spi/buffer_test.cpp b/memfilepersistence/src/tests/spi/buffer_test.cpp index fdbd7a32f17..0addb1032f5 100644 --- a/memfilepersistence/src/tests/spi/buffer_test.cpp +++ b/memfilepersistence/src/tests/spi/buffer_test.cpp @@ -36,8 +36,8 @@ BufferTest::getSizeReturnsInitiallyAllocatedSize() void BufferTest::getSizeReturnsUnAlignedSizeForMMappedAllocs() { - Buffer buf(vespalib::alloc::MMapAllocator::HUGEPAGE_SIZE + 1); - CPPUNIT_ASSERT_EQUAL(size_t(vespalib::alloc::MMapAllocator::HUGEPAGE_SIZE + 1), buf.getSize()); + Buffer buf(vespalib::alloc::MemoryAllocator::HUGEPAGE_SIZE + 1); + CPPUNIT_ASSERT_EQUAL(size_t(vespalib::alloc::MemoryAllocator::HUGEPAGE_SIZE + 1), buf.getSize()); } void |