X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b35652569fcfeaa0ca1679dfb30648b008de61ed..9c340da9ffa670c20c3658a2be43d35868a9f5d9:/include/stg/service_conf.h diff --git a/include/stg/service_conf.h b/include/stg/service_conf.h index 84f052a5..1b472859 100644 --- a/include/stg/service_conf.h +++ b/include/stg/service_conf.h @@ -15,7 +15,7 @@ */ /* - * Author : Maxim Mamontov + * Author : Maksym Mamontov */ #ifndef SERVICE_CONF_H @@ -31,7 +31,7 @@ struct SERVICE_CONF 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) @@ -58,7 +58,7 @@ SERVICE_CONF_RES() 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) {}