]> git.stg.codes - stg.git/blobdiff - include/stg/service_conf.h
Fix build on OSX.
[stg.git] / include / stg / service_conf.h
index 84f052a557b55f0befe40b09b24cb50547135b82..a9b8d5c4e3aaa43ccf2940fe605fc32b4f717d31 100644 (file)
 #define SERVICE_CONF_H
 
 #include "resetable.h"
 #define SERVICE_CONF_H
 
 #include "resetable.h"
-#include "os_int.h"
 
 #include <string>
 
 #include <string>
+#include <cstdint>
 
 struct SERVICE_CONF
 {
 SERVICE_CONF()
     : name(), comment(), cost(0), payDay(0)
 {}
 
 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)
     : 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)
 {}