diff options
Diffstat (limited to 'vespalib/src/tests/alloc/allocate_and_core.cpp')
-rw-r--r-- | vespalib/src/tests/alloc/allocate_and_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/tests/alloc/allocate_and_core.cpp b/vespalib/src/tests/alloc/allocate_and_core.cpp index f0a0669eb42..63718de5ee4 100644 --- a/vespalib/src/tests/alloc/allocate_and_core.cpp +++ b/vespalib/src/tests/alloc/allocate_and_core.cpp @@ -6,9 +6,9 @@ using namespace vespalib::alloc; int main(int argc, char *argv[]) { (void) argc; (void) argv; - Alloc small(MMapAllocFactory::create(0x400000)); //4M + Alloc small(Alloc::allocMMap(0x400000)); //4M memset(small.get(), 0x55, small.size()); - Alloc large(MMapAllocFactory::create(0x4000000)); //640M + Alloc large(Alloc::allocMMap(0x4000000)); //640M memset(large.get(), 0x66, large.size()); assert(false); } |