git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove std::list from actions.
[stg.git]
/
libs
/
srvconf
/
parsers
/
server_info.cpp
diff --git
a/libs/srvconf/parsers/server_info.cpp
b/libs/srvconf/parsers/server_info.cpp
index f00336115323c24b2f43a9831e15fccecdaed955..86211971072a4000c12b7363cbd6c72b080a1df5 100644
(file)
--- a/
libs/srvconf/parsers/server_info.cpp
+++ b/
libs/srvconf/parsers/server_info.cpp
@@
-44,7
+44,7
@@
SERVER_INFO::PARSER::PARSER(CALLBACK f, void * d, const std::string & e)
AddParser(propertyParsers, "tariff_num", info.tariffNum);
for (size_t i = 0; i < DIR_NUM; i++)
AddParser(propertyParsers, "tariff_num", info.tariffNum);
for (size_t i = 0; i < DIR_NUM; i++)
- AddParser(propertyParsers, "dir_name_" +
unsigned2str
(i), info.dirName[i], GetEncodedValue);
+ AddParser(propertyParsers, "dir_name_" +
std::to_string
(i), info.dirName[i], GetEncodedValue);
}
//-----------------------------------------------------------------------------
int SERVER_INFO::PARSER::ParseStart(const char *el, const char **attr)
}
//-----------------------------------------------------------------------------
int SERVER_INFO::PARSER::ParseStart(const char *el, const char **attr)