]> git.stg.codes - stg.git/blobdiff - include/stg/user_conf.h
Ticket 37. if (message == "") replaced by if (message.empty()) in the
[stg.git] / include / stg / user_conf.h
index 465cfef4c7e4e2a8cc70fd88322a0708711c0698..5987c4d8c6b9d51c93c980877b8b59da0558e7ed 100644 (file)
@@ -50,6 +50,9 @@ 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);