]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/chg_corp.cpp
Fixed services test.
[stg.git] / stglibs / srvconf.lib / parsers / chg_corp.cpp
index dc884220d2a4d0519db9f61ef48dfd99b52f5327..852fe8e1b846a2ce2b7a46b5988fc4a5f15f0380 100644 (file)
 
 using namespace STG;
 
-std::string CHG_CORP::Serialize(const CORP_CONF_RES & conf)
+std::string CHG_CORP::Serialize(const CORP_CONF_RES & conf, const std::string & /*encoding*/)
 {
 std::ostringstream stream;
 
-appendResetable(stream, "name", conf.name);
-appendResetable(stream, "cash", conf.cash);
+appendResetableTag(stream, "name", conf.name);
+appendResetableTag(stream, "cash", conf.cash);
 
 return stream.str();
 }