Skip to content

Commit

Permalink
Add missing template keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Sep 16, 2016
1 parent 5caaa76 commit 5d6e478
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions contrib/nlohmann/traverse_value.hh
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ namespace tao
handler.null();
break;
case Value::value_t::boolean:
handler.boolean( v.get< bool >() );
handler.boolean( v.template get< bool >() );
break;
case Value::value_t::number_integer:
handler.number( v.get< std::int64_t >() );
handler.number( v.template get< std::int64_t >() );
break;
case Value::value_t::number_unsigned:
handler.number( v.get< std::uint64_t >() );
handler.number( v.template get< std::uint64_t >() );
break;
case Value::value_t::number_float:
handler.number( v.get< double >() );
handler.number( v.template get< double >() );
break;
case Value::value_t::string:
handler.string( v.get_ref< const std::string & >() );
handler.string( v.template get_ref< const std::string & >() );
break;
case Value::value_t::array:
handler.begin_array();
Expand Down

0 comments on commit 5d6e478

Please sign in to comment.