diff --git a/README.md b/README.md index 0a382e7e..f3028a4a 100644 --- a/README.md +++ b/README.md @@ -381,6 +381,7 @@ I deeply appreciate the help of the following people. - [Silverweed](https://github.com/silverweed) overloaded `parse()` to accept an rvalue reference. - [dariomt](https://github.com/dariomt) fixed a subtlety in MSVC type support. - [ZahlGraf](https://github.com/ZahlGraf) added a workaround that allows compilation using Android NDK. +- [Eau Claire](https://github.com/whackashoe) replaced a function that was marked as unsafe by Visual Studio. Thanks a lot for helping out! diff --git a/src/json.hpp b/src/json.hpp index 3e8c873f..5cc02ecc 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -2404,7 +2404,7 @@ class basic_json template::value - and std::is_const< typename std::remove_pointer::type >::value + and std::is_const::type>::value , int>::type = 0> const PointerType get_ptr() const noexcept { diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index a6999149..cb7bb487 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -2404,7 +2404,7 @@ class basic_json template::value - and std::is_const< typename std::remove_pointer::type >::value + and std::is_const::type>::value , int>::type = 0> const PointerType get_ptr() const noexcept {