diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 0ffddd503..8a1bea760 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -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 {