diff --git a/src/json.hpp b/src/json.hpp index 0aa45af5..8ac262e6 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -5942,7 +5942,7 @@ class basic_json template::value and std::is_integral::type>::value and - sizeof(std::remove_pointer) == 1, int>::type = 0> + sizeof(typename std::remove_pointer::type) == 1, int>::type = 0> static basic_json parse(const CharPT s, const parser_callback_t cb = nullptr) { diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index dbc5dec3..3b676458 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -5942,7 +5942,7 @@ class basic_json template::value and std::is_integral::type>::value and - sizeof(std::remove_pointer) == 1, int>::type = 0> + sizeof(typename std::remove_pointer::type) == 1, int>::type = 0> static basic_json parse(const CharPT s, const parser_callback_t cb = nullptr) {