mirror of
https://github.com/nlohmann/json
synced 2024-12-03 08:41:04 +00:00
fixed coverage bug
This commit is contained in:
parent
fc7f4b8fba
commit
a0609b2da3
@ -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);
|
||||
});
|
||||
|
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user