fix compilation on gcc 4.9

This commit is contained in:
Théo DELRIEU 2016-10-23 17:56:13 +02:00
parent 56492ce9c3
commit b81c2a22ea

View File

@ -3029,7 +3029,7 @@ class basic_json
*/
template<typename ValueType, typename std::enable_if<
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));
}