From: Maxim Mamontov Date: Sun, 25 Jan 2015 18:04:10 +0000 (+0200) Subject: Added default constructor for resetable USER_CONF. X-Git-Tag: 2.409~207 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/470b59384de34223bbfe21b82e7808f065e6820e Added default constructor for resetable USER_CONF. --- 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);