1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

dump to alternate implementation of string, as defined in basic_json template

This commit is contained in:
Vitaliy Manushkin
2018-03-10 17:19:28 +03:00
parent 6151dfaed7
commit faccc37d0d
2 changed files with 6 additions and 6 deletions

View File

@ -1947,7 +1947,7 @@ class basic_json
const bool ensure_ascii = false) const
{
string_t result;
serializer s(detail::output_adapter<char>(result), indent_char);
serializer s(detail::output_adapter<char, string_t>(result), indent_char);
if (indent >= 0)
{