aboutsummaryrefslogtreecommitdiff
path: root/src/test/util
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2020-11-29 19:33:22 +0100
committerFabian Jahr <fjahr@protonmail.com>2020-12-01 18:36:39 +0100
commit1e62350ca20898189904a88dfef9ea11ddcd8626 (patch)
tree4c59267f85c5691faa84656cb0cecb0d386a247e /src/test/util
parentc502a6dbfb854ca827a5a3925394f9e09d29b898 (diff)
refactor: Improve use of explicit keyword
Diffstat (limited to 'src/test/util')
-rw-r--r--src/test/util/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util/logging.h b/src/test/util/logging.h
index 1fcf7ca305..a49f9a7292 100644
--- a/src/test/util/logging.h
+++ b/src/test/util/logging.h
@@ -32,7 +32,7 @@ class DebugLogHelper
void check_found();
public:
- DebugLogHelper(std::string message, MatchFn match = [](const std::string*){ return true; });
+ explicit DebugLogHelper(std::string message, MatchFn match = [](const std::string*){ return true; });
~DebugLogHelper() { check_found(); }
};