]> git.stg.codes - stg.git/blobdiff - libs/srvconf/parsers/chg_tariff.cpp
Remove x2str/unsigned2str in favor of std::to_string.
[stg.git] / libs / srvconf / parsers / chg_tariff.cpp
index 16c4b198dbf1d4e605de0a51d22c39f46abf8d4e..d0fc13a7baf4b0e83e7abd3c07b381b3fcc078a1 100644 (file)
@@ -44,7 +44,7 @@ for (typename A::size_type i = 0; i < array.size(); ++i)
         return;
     if (!res.empty())
         res += "/";
-    res += x2str((array[i].*field).data());
+    res += std::to_string((array[i].*field).data());
     }
 stream << "<" << name << " value=\"" << res << "\"/>";
 }