removed const in get_ptr() by accident
This commit is contained in:
parent
bd2783f45c
commit
5198e1f2e4
1 changed files with 2 additions and 2 deletions
|
@ -2400,10 +2400,10 @@ class basic_json
|
||||||
std::is_pointer<PointerType>::value
|
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>
|
, int>::type = 0>
|
||||||
PointerType get_ptr() const noexcept
|
const PointerType get_ptr() const noexcept
|
||||||
{
|
{
|
||||||
// delegate the call to get_impl_ptr<>() const
|
// 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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in a new issue