diff --git a/src/json.hpp b/src/json.hpp index fcb5e733..78c5c54e 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -8773,8 +8773,7 @@ basic_json_parser_63: { return std::accumulate(reference_tokens.begin(), reference_tokens.end(), std::string{}, - [](const std::string & a, - const std::string & b) + [](const std::string & a, const std::string & b) { return a + "/" + escape(b); }); diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index dea0f51c..c484c5e8 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -8083,8 +8083,7 @@ class basic_json { return std::accumulate(reference_tokens.begin(), reference_tokens.end(), std::string{}, - [](const std::string & a, - const std::string & b) + [](const std::string & a, const std::string & b) { return a + "/" + escape(b); });