summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2021-02-15 14:57:31 +0100
committerTor Egge <Tor.Egge@broadpark.no>2021-02-15 14:57:31 +0100
commit0823ac6d5f1f1b15fed708efaa91fe16e2cc7511 (patch)
tree69ed591bbbcb03e168a00ac78f9f95f5e89c99c0 /searchlib
parentd0580a51332db9e2f8e2d24799ef22942dc16abb (diff)
Rename get_memory_allocator to make_memory_allocator in mmap file allocator
factory. Remove virtual keyword.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/tensor/dense_tensor_attribute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/tensor/dense_tensor_attribute.cpp b/searchlib/src/vespa/searchlib/tensor/dense_tensor_attribute.cpp
index d672dae5c79..0f39816257f 100644
--- a/searchlib/src/vespa/searchlib/tensor/dense_tensor_attribute.cpp
+++ b/searchlib/src/vespa/searchlib/tensor/dense_tensor_attribute.cpp
@@ -78,7 +78,7 @@ std::unique_ptr<vespalib::alloc::MemoryAllocator>
make_memory_allocator(const vespalib::string& name, bool huge)
{
if (huge) {
- return vespalib::alloc::MmapFileAllocatorFactory::instance().get_memory_allocator(name);
+ return vespalib::alloc::MmapFileAllocatorFactory::instance().make_memory_allocator(name);
}
return {};
}