1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-25 13:41:56 +03:00

Merge branch 'develop' into feature/iterator_range_parsing

This commit is contained in:
Niels
2016-08-15 21:46:02 +02:00
4 changed files with 10 additions and 4 deletions

View File

@ -9528,7 +9528,7 @@ basic_json_parser_63:
}
/// split the string input to reference tokens
static std::vector<std::string> split(std::string reference_string)
static std::vector<std::string> split(const std::string& reference_string)
{
std::vector<std::string> result;
@ -10256,7 +10256,7 @@ basic_json_parser_63:
*/
static basic_json diff(const basic_json& source,
const basic_json& target,
std::string path = "")
const std::string& path = "")
{
// the patch
basic_json result(value_t::array);