Commit 5198e1f2 by dariomt

removed const in get_ptr() by accident

parent bd2783f4
......@@ -2400,10 +2400,10 @@ class basic_json
std::is_pointer<PointerType>::value
and std::is_const< typename std::remove_pointer<PointerType>::type >::value
, int>::type = 0>
PointerType get_ptr() const noexcept
const PointerType get_ptr() const noexcept
{
// delegate the call to get_impl_ptr<>() const
return get_impl_ptr(static_cast<PointerType>(nullptr));
return get_impl_ptr(static_cast<const PointerType>(nullptr));
}
/*!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment