X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/efc31e581ff0c9ca27959ff3b2b694d401d7349c..26b7dcb329abea46e11695c4df61e54c9cf9fd6c:/include/stg/user_conf.h diff --git a/include/stg/user_conf.h b/include/stg/user_conf.h index d0415c42..a16b3929 100644 --- a/include/stg/user_conf.h +++ b/include/stg/user_conf.h @@ -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);