refactor: Improve use of explicit keyword

This commit is contained in:
Fabian Jahr
2020-11-29 19:33:22 +01:00
parent c502a6dbfb
commit 1e62350ca2
19 changed files with 31 additions and 22 deletions

View File

@@ -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(); }
};