From 200d84d5681918523d982b9ddf60d1127edcb448 Mon Sep 17 00:00:00 2001 From: stickies-v Date: Wed, 31 Aug 2022 16:43:58 +0100 Subject: refactor: use std::string for index names --- src/index/blockfilterindex.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/index/blockfilterindex.h') diff --git a/src/index/blockfilterindex.h b/src/index/blockfilterindex.h index a31f7e460e..5af4671091 100644 --- a/src/index/blockfilterindex.h +++ b/src/index/blockfilterindex.h @@ -26,7 +26,6 @@ class BlockFilterIndex final : public BaseIndex { private: BlockFilterType m_filter_type; - std::string m_name; std::unique_ptr m_db; FlatFilePos m_next_filter_pos; @@ -52,8 +51,6 @@ protected: BaseIndex::DB& GetDB() const LIFETIMEBOUND override { return *m_db; } - const char* GetName() const LIFETIMEBOUND override { return m_name.c_str(); } - public: /** Constructs the index, which becomes available to be queried. */ explicit BlockFilterIndex(std::unique_ptr chain, BlockFilterType filter_type, -- cgit v1.2.3