diff --git a/src/json.hpp b/src/json.hpp index 7a8d76ae0f..3c035ef3b9 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -3029,7 +3029,7 @@ class basic_json */ template::value, int>::type = 0> - auto get() const -> decltype(get_impl(static_cast(nullptr))) + auto get() const -> decltype(this->get_impl(static_cast(nullptr))) { return get_impl(static_cast(nullptr)); }