diff options
Diffstat (limited to 'vespalib/src/vespa/vespalib/datastore/small_array_buffer_type.h')
-rw-r--r-- | vespalib/src/vespa/vespalib/datastore/small_array_buffer_type.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/small_array_buffer_type.h b/vespalib/src/vespa/vespalib/datastore/small_array_buffer_type.h index 4e4568c3d16..f6cb860348d 100644 --- a/vespalib/src/vespa/vespalib/datastore/small_array_buffer_type.h +++ b/vespalib/src/vespa/vespalib/datastore/small_array_buffer_type.h @@ -10,6 +10,8 @@ namespace vespalib::alloc { class MemoryAllocator; } namespace vespalib::datastore { +template <typename EntryT> class ArrayStoreTypeMapper; + /* * Class representing buffer type for small arrays in ArrayStore */ @@ -23,7 +25,7 @@ public: SmallArrayBufferType& operator=(const SmallArrayBufferType&) = delete; SmallArrayBufferType(SmallArrayBufferType&&) noexcept = default; SmallArrayBufferType& operator=(SmallArrayBufferType&&) noexcept = default; - SmallArrayBufferType(uint32_t array_size, const AllocSpec& spec, std::shared_ptr<alloc::MemoryAllocator> memory_allocator) noexcept; + SmallArrayBufferType(uint32_t array_size, const AllocSpec& spec, std::shared_ptr<alloc::MemoryAllocator> memory_allocator, ArrayStoreTypeMapper<EntryT>& mapper) noexcept; ~SmallArrayBufferType() override; const vespalib::alloc::MemoryAllocator* get_memory_allocator() const override; }; |