]> git.stg.codes - stg.git/blobdiff - include/stg/user_conf.h
Added support of Darwin platform.
[stg.git] / include / stg / user_conf.h
index 9a6efb23dc5d8ce4271be5af043434b3049c9d7e..599336583a4ebc159e400e76279b15e12292b9bb 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <string>
 #include <vector>
-#include "stg_const.h"
+#include "const.h"
 #include "user_ips.h"
 #include "resetable.h"
 #include "os_int.h"
@@ -37,7 +37,7 @@ struct USER_CONF
           userdata(USERDATA_NUM),
           creditExpire(0),
           ips()
-    {};
+    {}
 
     std::string              password;
     int                      passive;
@@ -81,7 +81,7 @@ struct USER_CONF_RES
           creditExpire(),
           ips()
     {
-    };
+    }
 
     USER_CONF_RES & operator=(const USER_CONF & uc)
     {
@@ -107,7 +107,7 @@ struct USER_CONF_RES
         creditExpire = uc.creditExpire;
         ips          = uc.ips;
         return *this;
-    };
+    }
     operator USER_CONF() const
     {
         USER_CONF uc;