X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a8f0f5a52af09cc0c0bcd08d64a1166b7502a424..baaffcbb18847d38ac7413c91abc361eaad8007b:/stglibs/srvconf.lib/parsers/chg_tariff.cpp diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index c23cd0cd..6735e18d 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -20,6 +20,8 @@ #include "chg_tariff.h" +#include "resetable_utils.h" + #include "stg/tariff_conf.h" #include "stg/common.h" @@ -32,13 +34,6 @@ using namespace STG; namespace { -template -void appendResetable(std::ostream & stream, const std::string & name, const T & value) -{ -if (!value.empty()) - stream << "<" << name << " value=\"" << value.data() << "\"/>"; -} - template void appendSlashedResetable(std::ostream & stream, const std::string & name, const A & array, T A::value_type:: * field) {