From 2427939935f3e6669be6bf553be89639e0afabaa Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Thu, 18 Sep 2025 16:32:59 +0200 Subject: [PATCH] test: forbid copying of DebugLogHelper --- src/test/util/logging.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/util/logging.h b/src/test/util/logging.h index 104a21f9228..cd6cb14da0f 100644 --- a/src/test/util/logging.h +++ b/src/test/util/logging.h @@ -27,6 +27,9 @@ public: explicit DebugLogHelper(std::string message, MatchFn match = [](const std::string*){ return true; }); + DebugLogHelper(const DebugLogHelper&) = delete; + DebugLogHelper& operator=(const DebugLogHelper&) = delete; + ~DebugLogHelper(); private: