diff --git a/src/json.hpp b/src/json.hpp index 8e747659..68c78b53 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -2385,7 +2385,7 @@ class basic_json template::value - and std::is_const::value + and std::is_const< typename std::remove_pointer::type >::value , int>::type = 0> const PointerType get_ptr() const noexcept {