commit | a4297a6eb13a060fd593d44ac493e7970ce77505 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jun 19 13:29:34 2014 -0700 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Thu Jun 19 14:32:13 2014 -0700 |
tree | 98d6900816ad0998e9d4b0ee9f54e304fe6ce79c | |
parent | a0c5f830cc37e1acfab9a4aaccd3b94db0e72e8a [diff] [blame] |
security: Add "explicit" markers for one-parameter constructors Change-Id: I072c924ecdd212d63700804e8af3f4fac6da1919 Refs: #1681
diff --git a/src/security/certificate-cache-ttl.hpp b/src/security/certificate-cache-ttl.hpp index 31f8255..650a9e7 100644 --- a/src/security/certificate-cache-ttl.hpp +++ b/src/security/certificate-cache-ttl.hpp
@@ -33,6 +33,7 @@ class CertificateCacheTtl : public CertificateCache { public: + explicit CertificateCacheTtl(boost::asio::io_service& io, const time::seconds& defaultTtl = time::seconds(3600)) : m_defaultTtl(defaultTtl)