From 1d1a18e59d712d3618810503f7131e99dc8f00e1 Mon Sep 17 00:00:00 2001 From: Yao Zongyou Date: Mon, 21 Jan 2019 21:10:12 +0800 Subject: [PATCH] osd: remove unused class read_log_and_missing_error Signed-off-by: Yao Zongyou --- src/osd/PGLog.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/osd/PGLog.h b/src/osd/PGLog.h index fb7d9f82e4130..70840c5aef147 100644 --- a/src/osd/PGLog.h +++ b/src/osd/PGLog.h @@ -60,19 +60,6 @@ struct PGLog : DoutPrefixProvider { virtual ~LogEntryHandler() {} }; - /* Exceptions */ - class read_log_and_missing_error : public buffer::error { - public: - explicit read_log_and_missing_error(const char *what) { - snprintf(buf, sizeof(buf), "read_log_and_missing_error: %s", what); - } - const char *what() const throw () override { - return buf; - } - private: - char buf[512]; - }; - public: /** * IndexLog - adds in-memory index of the log, by oid. -- 2.39.5