aboutsummaryrefslogtreecommitdiffstats
path: root/fastlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-10-16 19:47:08 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-10-16 19:47:08 +0000
commit3dc92c36aa6f58a2ce2f57089501364dab6a44bc (patch)
treed48b2ca1cee14621dd7c51e3a6ba089ca18e43fe /fastlib
parent1ab845031009400d8222f2c4affffaeaba3ccd71 (diff)
Remove the XXXFactory indirection. Just use static method on Alloc.
Diffstat (limited to 'fastlib')
-rw-r--r--fastlib/src/vespa/fastlib/io/bufferedfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastlib/src/vespa/fastlib/io/bufferedfile.cpp b/fastlib/src/vespa/fastlib/io/bufferedfile.cpp
index adf201a6e1e..8d5aef0c097 100644
--- a/fastlib/src/vespa/fastlib/io/bufferedfile.cpp
+++ b/fastlib/src/vespa/fastlib/io/bufferedfile.cpp
@@ -392,7 +392,7 @@ size_t computeBufLen(size_t buflen)
Fast_BufferedFile::Fast_BufferedFile(FastOS_FileInterface *file, size_t bufferSize) :
FastOS_FileInterface(),
_fileleft(static_cast<uint64_t>(-1)),
- _buf(vespalib::alloc::MMapAllocFactory::create(computeBufLen(bufferSize))),
+ _buf(vespalib::alloc::Alloc::allocMMap(computeBufLen(bufferSize))),
_bufi(NULL),
_bufe(NULL),
_filepos(0),