summaryrefslogtreecommitdiffstats
path: root/memfilepersistence/src/tests/spi
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2016-10-10 14:24:38 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2016-10-10 14:24:38 +0200
commitc355f4c97a5455f46ff9c779b6320060f67211d0 (patch)
treefc8005b46c3661d02a6c2cc2c810af21a5ae85eb /memfilepersistence/src/tests/spi
parent2eacefe6b4c7b7981c0fcec0a1fa5fdaa933ec36 (diff)
parent6abdd3d8960ce01422e0cc902cba7e2fa9facc67 (diff)
Merge branch 'master' into aressem/dont-allow-unresolved-symbols-in-shared-libs-or-executables
Diffstat (limited to 'memfilepersistence/src/tests/spi')
-rw-r--r--memfilepersistence/src/tests/spi/buffer_test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/memfilepersistence/src/tests/spi/buffer_test.cpp b/memfilepersistence/src/tests/spi/buffer_test.cpp
index a2d917301fc..0addb1032f5 100644
--- a/memfilepersistence/src/tests/spi/buffer_test.cpp
+++ b/memfilepersistence/src/tests/spi/buffer_test.cpp
@@ -36,9 +36,8 @@ BufferTest::getSizeReturnsInitiallyAllocatedSize()
void
BufferTest::getSizeReturnsUnAlignedSizeForMMappedAllocs()
{
- Buffer buf(vespalib::MMapAlloc::HUGEPAGE_SIZE + 1);
- CPPUNIT_ASSERT_EQUAL(size_t(vespalib::MMapAlloc::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