Skip to content

Commit

Permalink
Rename _ variable
Browse files Browse the repository at this point in the history
Dangerous to use the name _ because it might be expanded into a gettext
macro.
  • Loading branch information
jbytheway committed Apr 12, 2020
1 parent cacfd29 commit c504fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8638,7 +8638,7 @@ void item::process_temperature_rot( float insulation, const tripoint &pos,
}

time_point time;
item_internal::scoped_goes_bad_cache _( this );
item_internal::scoped_goes_bad_cache _cache( this );
const bool process_rot = goes_bad();

if( process_rot ) {
Expand Down

0 comments on commit c504fa9

Please sign in to comment.