X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/56d1a7c8820bd8913b68eafb8566a4185dd188b1..de9e44e256657beb5160021c7e4fd21d8a9a21d2:/include/stg/service_conf.h?ds=sidebyside diff --git a/include/stg/service_conf.h b/include/stg/service_conf.h index 84f052a5..a9b8d5c4 100644 --- a/include/stg/service_conf.h +++ b/include/stg/service_conf.h @@ -22,16 +22,16 @@ #define SERVICE_CONF_H #include "resetable.h" -#include "os_int.h" #include +#include 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) {}