changeset 896:b594a9269f49

tests: remove useless debug info in hook
author David Demelier <markand@malikania.fr>
date Fri, 20 Sep 2019 11:42:52 +0000
parents f0d6bc79aa32
children e71fd436f6c8
files tests/src/libirccd-daemon/hook/main.cpp
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/src/libirccd-daemon/hook/main.cpp	Thu Sep 05 13:39:32 2019 +0200
+++ b/tests/src/libirccd-daemon/hook/main.cpp	Fri Sep 20 11:42:52 2019 +0000
@@ -54,12 +54,10 @@
 	using list = vector<string>;
 
 private:
-	list debug_;
 	list warning_;
 	list info_;
 
 public:
-	auto get_debug() const noexcept -> const list&;
 	auto get_info() const noexcept -> const list&;
 	auto get_warning() const noexcept -> const list&;
 	void write_debug(const std::string& line) override;
@@ -67,11 +65,6 @@
 	void write_warning(const std::string& line) override;
 };
 
-auto memory_sink::get_debug() const noexcept -> const list&
-{
-	return debug_;
-}
-
 auto memory_sink::get_info() const noexcept -> const list&
 {
 	return info_;
@@ -82,9 +75,8 @@
 	return warning_;
 }
 
-void memory_sink::write_debug(const std::string& line)
+void memory_sink::write_debug(const std::string&)
 {
-	debug_.push_back(line);
 }
 
 void memory_sink::write_info(const std::string& line)