Commit a0609b2d authored by Niels's avatar Niels

fixed coverage bug

parent fc7f4b8f
...@@ -8773,8 +8773,7 @@ basic_json_parser_63: ...@@ -8773,8 +8773,7 @@ basic_json_parser_63:
{ {
return std::accumulate(reference_tokens.begin(), return std::accumulate(reference_tokens.begin(),
reference_tokens.end(), std::string{}, reference_tokens.end(), std::string{},
[](const std::string & a, [](const std::string & a, const std::string & b)
const std::string & b)
{ {
return a + "/" + escape(b); return a + "/" + escape(b);
}); });
......
...@@ -8083,8 +8083,7 @@ class basic_json ...@@ -8083,8 +8083,7 @@ class basic_json
{ {
return std::accumulate(reference_tokens.begin(), return std::accumulate(reference_tokens.begin(),
reference_tokens.end(), std::string{}, reference_tokens.end(), std::string{},
[](const std::string & a, [](const std::string & a, const std::string & b)
const std::string & b)
{ {
return a + "/" + escape(b); return a + "/" + escape(b);
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment