fix compilation on gcc 4.9
This commit is contained in:
parent
56492ce9c3
commit
b81c2a22ea
@ -3029,7 +3029,7 @@ class basic_json
|
|||||||
*/
|
*/
|
||||||
template<typename ValueType, typename std::enable_if<
|
template<typename ValueType, typename std::enable_if<
|
||||||
not std::is_pointer<ValueType>::value, int>::type = 0>
|
not std::is_pointer<ValueType>::value, int>::type = 0>
|
||||||
auto get() const -> decltype(get_impl(static_cast<ValueType*>(nullptr)))
|
auto get() const -> decltype(this->get_impl(static_cast<ValueType*>(nullptr)))
|
||||||
{
|
{
|
||||||
return get_impl(static_cast<ValueType*>(nullptr));
|
return get_impl(static_cast<ValueType*>(nullptr));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user