Skip to content

Commit

Permalink
fix compilation on gcc 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
theodelrieu committed Oct 23, 2016
1 parent 56492ce commit b81c2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit b81c2a2

Please sign in to comment.