From 5591a50b918d2dc784a9e15688dfe24eb2b6dfcc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Jun 2016 10:28:16 +0100 Subject: Add some explicit declarations to constructors. --- src/certificate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/certificate.h') diff --git a/src/certificate.h b/src/certificate.h index be6a554c..373d9102 100644 --- a/src/certificate.h +++ b/src/certificate.h @@ -52,8 +52,8 @@ public: , _extra_data (false) {} - Certificate (std::string); - Certificate (X509 *); + explicit Certificate (std::string); + explicit Certificate (X509 *); Certificate (Certificate const &); ~Certificate (); -- cgit v1.2.3