From 72476b4226764500345948301e204e2506c018a2 Mon Sep 17 00:00:00 2001 From: Niels Date: Mon, 7 Dec 2015 20:38:13 +0100 Subject: [PATCH] cleanup after #153 --- README.md | 1 + src/json.hpp | 2 +- src/json.hpp.re2c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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 {