diff --git a/src/json.hpp b/src/json.hpp index 9ee0de1df..4f51f449c 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -3028,7 +3028,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)); }