summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-02-10 13:50:05 +0100
committerTor Egge <Tor.Egge@online.no>2022-02-10 13:50:05 +0100
commite66bdcf264ca817d17173c9d4748ff86b8e0b91f (patch)
tree2dd8d3950b227e6b0c56a273cfe596765863eb75 /vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
parentfed60ae90b4e230129b4e9e6b72dd125d354e6c0 (diff)
Add memory allocator to unique store allocator
Diffstat (limited to 'vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp')
-rw-r--r--vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp b/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
index 796e19a97d1..13f9ae251b6 100644
--- a/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
+++ b/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
@@ -132,7 +132,7 @@ struct DataStoreShardedHashTest : public ::testing::Test
DataStoreShardedHashTest::DataStoreShardedHashTest()
: _generationHandler(),
- _allocator(),
+ _allocator({}),
_store(_allocator.get_data_store()),
_hash_map(std::make_unique<MyCompare>(_store)),
_writer(1, 128_Ki),