aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_x509.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/unit_x509.cpp')
-rw-r--r--src/tests/unit_x509.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp
index e23017738..5f11523b5 100644
--- a/src/tests/unit_x509.cpp
+++ b/src/tests/unit_x509.cpp
@@ -801,7 +801,7 @@ Test::Result test_valid_constraints(const std::string& pk_algo)
class String_Extension : public Botan::Certificate_Extension
{
public:
- String_Extension() : m_contents() {}
+ String_Extension() = default;
String_Extension(const std::string& val) : m_contents(val) {}
std::string value() const { return m_contents; }