Skip to content

Commit 2427939

Browse files
purpleKarrotvasild
authored andcommitted
test: forbid copying of DebugLogHelper
1 parent d6aa266 commit 2427939

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/util/logging.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class DebugLogHelper
2727

2828
explicit DebugLogHelper(std::string message, MatchFn match = [](const std::string*){ return true; });
2929

30+
DebugLogHelper(const DebugLogHelper&) = delete;
31+
DebugLogHelper& operator=(const DebugLogHelper&) = delete;
32+
3033
~DebugLogHelper();
3134

3235
private:

0 commit comments

Comments
 (0)