]> git.stg.codes - stg.git/blobdiff - include/stg/service_conf.h
Merge branch 'stg-2.409' into stg-2.409-radius
[stg.git] / include / stg / service_conf.h
index 84f052a557b55f0befe40b09b24cb50547135b82..b6c244908d8791e07a78ff7ccef06172f44535d3 100644 (file)
@@ -31,7 +31,7 @@ struct SERVICE_CONF
 SERVICE_CONF()
     : name(), comment(), cost(0), payDay(0)
 {}
 SERVICE_CONF()
     : name(), comment(), cost(0), payDay(0)
 {}
-SERVICE_CONF(const std::string & n)
+explicit SERVICE_CONF(const std::string & n)
     : name(n), comment(), cost(0), payDay(0)
 {}
 SERVICE_CONF(const std::string & n, double c)
     : name(n), comment(), cost(0), payDay(0)
 {}
 SERVICE_CONF(const std::string & n, double c)
@@ -58,7 +58,7 @@ SERVICE_CONF_RES()
       cost(), payDay()
 {}
 
       cost(), payDay()
 {}
 
-SERVICE_CONF_RES(const SERVICE_CONF & rhs)
+explicit SERVICE_CONF_RES(const SERVICE_CONF & rhs)
     : name(rhs.name), comment(rhs.comment),
       cost(rhs.cost), payDay(rhs.payDay)
 {}
     : name(rhs.name), comment(rhs.comment),
       cost(rhs.cost), payDay(rhs.payDay)
 {}