Skip to content

Commit

Permalink
cleanup after #153
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Dec 7, 2015
1 parent f36f316 commit 72476b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

Expand Down
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2404,7 +2404,7 @@ class basic_json
template<typename PointerType, typename
std::enable_if<
std::is_pointer<PointerType>::value
and std::is_const< typename std::remove_pointer<PointerType>::type >::value
and std::is_const<typename std::remove_pointer<PointerType>::type>::value
, int>::type = 0>
const PointerType get_ptr() const noexcept
{
Expand Down
2 changes: 1 addition & 1 deletion src/json.hpp.re2c
Original file line number Diff line number Diff line change
Expand Up @@ -2404,7 +2404,7 @@ class basic_json
template<typename PointerType, typename
std::enable_if<
std::is_pointer<PointerType>::value
and std::is_const< typename std::remove_pointer<PointerType>::type >::value
and std::is_const<typename std::remove_pointer<PointerType>::type>::value
, int>::type = 0>
const PointerType get_ptr() const noexcept
{
Expand Down

3 comments on commit 72476b4

@whackashoe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eau Claire replaced a function that was marked as unsafe by Visual Studio.

Think you copied wrong bit - username is whackashoe

@nlohmann
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, sorry about that. I committed a fix.

@whackashoe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No prob 👯

Please sign in to comment.