git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add vecotr reserve to the default constructor of SETTINGS_IMPL
[stg.git]
/
include
/
user_property.h
diff --git
a/include/user_property.h
b/include/user_property.h
index 3075d8f9d0a771394944d854c0d5fd435699eaf6..78e5675a5f9adc453ae5ac13f8c8e06922630477 100644
(file)
--- a/
include/user_property.h
+++ b/
include/user_property.h
@@
-62,7
+62,7
@@
template<typename varT>
class USER_PROPERTY_LOGGED: public USER_PROPERTY<varT> {
public:
USER_PROPERTY_LOGGED(varT & val,
class USER_PROPERTY_LOGGED: public USER_PROPERTY<varT> {
public:
USER_PROPERTY_LOGGED(varT & val,
- const std::string n,
+ const std::string
&
n,
bool isPassword,
bool isStat,
STG_LOGGER & logger,
bool isPassword,
bool isStat,
STG_LOGGER & logger,
@@
-259,7
+259,7
@@
afterNotifiers.erase(n);
template <typename varT>
inline
USER_PROPERTY_LOGGED<varT>::USER_PROPERTY_LOGGED(varT & val,
template <typename varT>
inline
USER_PROPERTY_LOGGED<varT>::USER_PROPERTY_LOGGED(varT & val,
-
std::string
n,
+
const std::string &
n,
bool isPass,
bool isSt,
STG_LOGGER & logger,
bool isPass,
bool isSt,
STG_LOGGER & logger,