From 14ea796c80770d679fd64b7088350f7fa44cc90b Mon Sep 17 00:00:00 2001 From: matthewvon Date: Sun, 8 Jan 2023 14:09:37 -0500 Subject: [PATCH] Need null StatsTable constructor/destructor for clean library use. Removed unused Dump() declare. --- stats_table.cpp | 2 -- stats_table.h | 7 ++----- stats_table_impl.h | 3 --- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/stats_table.cpp b/stats_table.cpp index c5a42da..be8a4a9 100644 --- a/stats_table.cpp +++ b/stats_table.cpp @@ -42,8 +42,6 @@ StatsTable* StatsTable::NewStatsTable(bool StartWorker) { } // StatsTable::NewStatsTable -StatsTable::StatsTable() {}; - /** * Initialize the data members. diff --git a/stats_table.h b/stats_table.h index 9a98e5f..62405ee 100644 --- a/stats_table.h +++ b/stats_table.h @@ -26,9 +26,9 @@ class StatsTable { * Member functions ****************************************************************/ public: - StatsTable(); + StatsTable() {}; - virtual ~StatsTable(); + virtual ~StatsTable() {}; static StatsTable* NewStatsTable(bool StartWorker = true); @@ -41,9 +41,6 @@ class StatsTable { virtual bool AddTable(rocksdb::DB * dbase, unsigned TableId, const std::string &name) = 0; - /// debug - virtual void Dump() = 0; - private: StatsTable(const StatsTable &); //!< disabled: copy operator StatsTable &operator=(const StatsTable &); //!< disabled: assignment operator diff --git a/stats_table_impl.h b/stats_table_impl.h index e73232b..9cfd0de 100644 --- a/stats_table_impl.h +++ b/stats_table_impl.h @@ -45,9 +45,6 @@ class StatsTableImpl : public StatsTable { bool AddTable(rocksdb::DB * dbase, unsigned TableId, const std::string &name) override; - /// debug - void Dump() override; - protected: void UpdateTableNameList(unsigned TableId, const std::string &name);