diff --git a/src/json.hpp b/src/json.hpp index ffa4606733..57a8f4c72d 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -9227,7 +9227,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; diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index ced7ffba27..cdd96ee918 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;