Skip to content

Commit

Permalink
Fix clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramza13 committed Jul 8, 2020
1 parent 2085aa2 commit 09456cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/weather_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ void weather_type::load( const JsonObject &jo, const std::string & )
optional( weather_requires, was_loaded, "acidic", new_requires.acidic, false );
optional( weather_requires, was_loaded, "time", new_requires.time,
weather_time_requirement_type::both );
for( const std::string required_weather :
for( const std::string &required_weather :
weather_requires.get_string_array( "required_weathers" ) ) {
new_requires.required_weathers.push_back( weather_type_id( required_weather ) );
}
Expand Down

0 comments on commit 09456cf

Please sign in to comment.