From 470b59384de34223bbfe21b82e7808f065e6820e Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sun, 25 Jan 2015 20:04:10 +0200 Subject: [PATCH] Added default constructor for resetable USER_CONF. --- include/stg/user_conf.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.43.2