aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_time.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-03-05 13:10:30 -0500
committerJack Lloyd <[email protected]>2016-03-05 13:10:30 -0500
commita3ce0bd1e9e018ea69741c4380bf065cccedec93 (patch)
tree71eac335b7bdc3a845b1d6599b78e337ad00433c /src/lib/asn1/asn1_time.h
parent2467ccccd48fc502ee3e04d847d514e88d88b144 (diff)
parentc3540ae668a523c0155677c4ee4c9099910110bc (diff)
Make almost all single argument constructors `explicit`
GH #444
Diffstat (limited to 'src/lib/asn1/asn1_time.h')
-rw-r--r--src/lib/asn1/asn1_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asn1/asn1_time.h b/src/lib/asn1/asn1_time.h
index 269cc7983..ba5b84838 100644
--- a/src/lib/asn1/asn1_time.h
+++ b/src/lib/asn1/asn1_time.h
@@ -41,7 +41,7 @@ class BOTAN_DLL X509_Time final : public ASN1_Object
X509_Time() {}
/// Create a X509_Time from a time point
- X509_Time(const std::chrono::system_clock::time_point& time);
+ explicit X509_Time(const std::chrono::system_clock::time_point& time);
/// Create an X509_Time from string
X509_Time(const std::string& t_spec, ASN1_Tag tag);