fix toJSON function and some VS warnings

This commit is contained in:
Alex Fabijanic
2018-02-08 19:23:15 -06:00
parent fbd229ee4a
commit fac2437fab
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ void toJSON(const std::string& value, std::ostream& out, bool wrap)
}
std::string toJSON(const std::string& value, bool wrap, bool escapeAllUnicode)
std::string toJSON(const std::string& value, bool wrap)
{
int options = (wrap ? Poco::JSON_WRAP_STRINGS : 0);
std::string ret;