X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b35652569fcfeaa0ca1679dfb30648b008de61ed..ac9dc8faf23104c8d82cbf5ff0041f46da8d9534:/include/stg/service_conf.h?ds=inline 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) {}