diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-02-10 13:50:05 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-02-10 13:50:05 +0100 |
commit | e66bdcf264ca817d17173c9d4748ff86b8e0b91f (patch) | |
tree | 2dd8d3950b227e6b0c56a273cfe596765863eb75 /searchlib | |
parent | fed60ae90b4e230129b4e9e6b72dd125d354e6c0 (diff) |
Add memory allocator to unique store allocator
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/enumstore.hpp | 2 | ||||
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/reference_attribute.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/enumstore.hpp b/searchlib/src/vespa/searchlib/attribute/enumstore.hpp index e1adca2b89a..5baa7cc9df8 100644 --- a/searchlib/src/vespa/searchlib/attribute/enumstore.hpp +++ b/searchlib/src/vespa/searchlib/attribute/enumstore.hpp @@ -73,7 +73,7 @@ EnumStoreT<EntryT>::load_unique_value(const void* src, size_t available, Index& template <typename EntryT> EnumStoreT<EntryT>::EnumStoreT(bool has_postings, const DictionaryConfig & dict_cfg) - : _store(), + : _store({}), _dict(), _is_folded(dict_cfg.getMatch() == DictionaryConfig::Match::UNCASED), _comparator(_store.get_data_store()), diff --git a/searchlib/src/vespa/searchlib/attribute/reference_attribute.cpp b/searchlib/src/vespa/searchlib/attribute/reference_attribute.cpp index 4212a4ad247..f7317f2d8c6 100644 --- a/searchlib/src/vespa/searchlib/attribute/reference_attribute.cpp +++ b/searchlib/src/vespa/searchlib/attribute/reference_attribute.cpp @@ -41,7 +41,7 @@ extractUniqueValueCount(const vespalib::GenericHeader &header) ReferenceAttribute::ReferenceAttribute(const vespalib::stringref baseFileName, const Config & cfg) : NotImplementedAttribute(baseFileName, cfg), - _store(), + _store({}), _indices(getGenerationHolder()), _compaction_spec(), _gidToLidMapperFactory(), |