X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/efc31e581ff0c9ca27959ff3b2b694d401d7349c..518e6f1b9b6edfff2c1b0cd25f061f93a4d1fcb9:/include/stg/user_conf.h?ds=sidebyside 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);