git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c80f9
)
Added default constructor for resetable USER_CONF.
author
Maxim Mamontov
<faust.madf@gmail.com>
Sun, 25 Jan 2015 18:04:10 +0000
(20:04 +0200)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Sun, 25 Jan 2015 18:04:10 +0000
(20:04 +0200)
include/stg/user_conf.h
patch
|
blob
|
history
diff --git
a/include/stg/user_conf.h
b/include/stg/user_conf.h
index 465cfef4c7e4e2a8cc70fd88322a0708711c0698..5987c4d8c6b9d51c93c980877b8b59da0558e7ed 100644
(file)
--- 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);