]> git.stg.codes - stg.git/blobdiff - include/stg/user_conf.h
Port to CMake, get rid of os_int.h.
[stg.git] / include / stg / user_conf.h
index d0415c42b47f36f18e55983f9d59df0ba853bd02..d48682d6e7a0797d8906555618e8fe7a387fb90b 100644 (file)
@@ -9,10 +9,10 @@
 
 #include <string>
 #include <vector>
+#include <cstdint>
 #include "const.h"
 #include "user_ips.h"
 #include "resetable.h"
-#include "os_int.h"
 
 //-----------------------------------------------------------------------------
 struct USER_CONF
@@ -51,9 +51,8 @@ struct USER_CONF
 struct USER_CONF_RES
 {
     USER_CONF_RES()
-    {
-    }
-
+        : userdata(USERDATA_NUM)
+    {}
     USER_CONF_RES & operator=(const USER_CONF & uc)
     {
         userdata.resize(USERDATA_NUM);