]> git.stg.codes - stg.git/blobdiff - libs/srvconf/parsers/chg_admin.cpp
Replace boost::scoped_ptr with std::unique_ptr.
[stg.git] / libs / srvconf / parsers / chg_admin.cpp
index 14679dff6f04c8d0c61d2d6bc6b914ff1e450279..ca2d800367a5cba7781da887772e3adc9dd8b5bf 100644 (file)
@@ -35,6 +35,6 @@ if (!conf.login.empty())
 if (!conf.password.empty())
     params += " password=\"" + conf.password.data() + "\"";
 if (!conf.priv.empty())
-    params += " priv=\"" + unsigned2str(conf.priv.data().ToInt()) + "\"";
+    params += " priv=\"" + std::to_string(conf.priv.data().ToInt()) + "\"";
 return params;
 }