diff options
author | Geir Storli <geirst@verizonmedia.com> | 2019-09-10 13:45:39 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2019-09-10 13:45:39 +0000 |
commit | 3f8997f8fadd90cb7fd1f8be8dfbd66cabb62a9e (patch) | |
tree | abc970ee0c9870fec0b40b3f630623d9194b4ec4 /vespalib | |
parent | 58bd3fe4539fcf80de794bc84c60c7c387637a42 (diff) |
Remove unused functions.
Diffstat (limited to 'vespalib')
3 files changed, 0 insertions, 9 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/i_unique_store_dictionary.h b/vespalib/src/vespa/vespalib/datastore/i_unique_store_dictionary.h index f1519e29e1f..9604d1d5339 100644 --- a/vespalib/src/vespa/vespalib/datastore/i_unique_store_dictionary.h +++ b/vespalib/src/vespa/vespalib/datastore/i_unique_store_dictionary.h @@ -48,7 +48,6 @@ public: virtual void build(vespalib::ConstArrayRef<EntryRef> refs) = 0; virtual void build_with_payload(const std::vector<EntryRef>& refs, const std::vector<uint32_t>& payloads) = 0; virtual std::unique_ptr<ReadSnapshot> get_read_snapshot() const = 0; - virtual EntryRef get_frozen_root() const = 0; }; } diff --git a/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.h b/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.h index c28ba53d1b7..69fbc332485 100644 --- a/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.h +++ b/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.h @@ -50,7 +50,6 @@ public: void build(vespalib::ConstArrayRef<EntryRef> refs) override; void build_with_payload(const std::vector<EntryRef>& refs, const std::vector<uint32_t>& payloads) override; std::unique_ptr<ReadSnapshot> get_read_snapshot() const override; - EntryRef get_frozen_root() const override; }; } diff --git a/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.hpp b/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.hpp index 02bf8ac14e6..14ed0c380c5 100644 --- a/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.hpp +++ b/vespalib/src/vespa/vespalib/datastore/unique_store_dictionary.hpp @@ -210,11 +210,4 @@ UniqueStoreDictionary<DictionaryT, ParentT>::get_read_snapshot() const return std::make_unique<ReadSnapshotImpl>(_dict.getFrozenView()); } -template <typename DictionaryT, typename ParentT> -EntryRef -UniqueStoreDictionary<DictionaryT, ParentT>::get_frozen_root() const -{ - return _dict.getFrozenView().getRoot(); -} - } |