diff --git a/src/json.hpp b/src/json.hpp index ffa460673..57a8f4c72 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -9227,7 +9227,7 @@ basic_json_parser_63: } /// split the string input to reference tokens - std::vector split(std::string reference_string) + static std::vector split(std::string reference_string) { std::vector result; diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index ced7ffba2..cdd96ee91 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -8537,7 +8537,7 @@ class basic_json } /// split the string input to reference tokens - std::vector split(std::string reference_string) + static std::vector split(std::string reference_string) { std::vector result;