From 203987331e7461c84f1a9da18562e3fa7b00df1e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 1 Mar 2016 12:10:26 +0800 Subject: [PATCH] test/TestPGLog: fix the FTBFS the new pure virtual method was introduced by e7edf20. Fixes: #14930 Signed-off-by: Kefu Chai --- src/test/osd/TestPGLog.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/osd/TestPGLog.cc b/src/test/osd/TestPGLog.cc index 336c34e204547..34d13133a0c7e 100644 --- a/src/test/osd/TestPGLog.cc +++ b/src/test/osd/TestPGLog.cc @@ -166,6 +166,9 @@ public: const hobject_t &hoid) { removed.insert(hoid); } + void try_stash(const hobject_t &, version_t) override { + // lost/unfound cases are not tested yet + } void trim( const pg_log_entry_t &entry) {} }; @@ -275,6 +278,9 @@ struct TestHandler : public PGLog::LogEntryHandler { removed.push_back(hoid); } void cant_rollback(const pg_log_entry_t &entry) {} + void try_stash(const hobject_t &, version_t) override { + // lost/unfound cases are not tested yet + } void trim( const pg_log_entry_t &entry) {} }; -- 2.39.5