From a0609b2da311ab68978e136eac770bc7aed4bd95 Mon Sep 17 00:00:00 2001 From: Niels Date: Wed, 29 Jun 2016 09:53:48 +0200 Subject: [PATCH] fixed coverage bug --- src/json.hpp | 3 +-- src/json.hpp.re2c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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); });