X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ae7ea38fdaf2d96f407eb85b6515b9dbffcc0c44..061f402c1baf9a2f76d8e1f6147e15d4ae304940:/include/stg/user_conf.h?ds=sidebyside diff --git a/include/stg/user_conf.h b/include/stg/user_conf.h index 465cfef4..5987c4d8 100644 --- a/include/stg/user_conf.h +++ b/include/stg/user_conf.h @@ -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);