Skip to content

Commit

Permalink
Fix reference to non-reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dseguin committed Dec 2, 2021
1 parent 307914f commit ee5f97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bodypart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ void body_part_type::load( const JsonObject &jo, const std::string & )
if( jo.has_member( "limb_scores" ) ) {
limb_scores.clear();
const JsonArray &jarr = jo.get_array( "limb_scores" );
for( const JsonValue &jval : jarr ) {
for( const JsonValue jval : jarr ) {
bp_limb_score bpls;
bpls.id = limb_score_id( jval.get_array().get_string( 0 ) );
bpls.score = jval.get_array().get_float( 1 );
Expand Down

0 comments on commit ee5f97f

Please sign in to comment.