aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 0c561a7d3..0bb65778a 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -41,7 +41,7 @@ using Botan::BigInt;
class Test_Error : public Botan::Exception
{
public:
- Test_Error(const std::string& what) : Exception("Test error", what) {}
+ explicit Test_Error(const std::string& what) : Exception("Test error", what) {}
};
/*
@@ -61,7 +61,7 @@ class Test
class Result
{
public:
- Result(const std::string& who) : m_who(who) {}
+ explicit Result(const std::string& who) : m_who(who) {}
size_t tests_passed() const { return m_tests_passed; }
size_t tests_failed() const { return m_fail_log.size(); }