From 09456cfab2cd4114a651ddb8341e1fb0314c60b1 Mon Sep 17 00:00:00 2001 From: Ramza13 <52087122+Ramza13@users.noreply.github.com> Date: Tue, 7 Jul 2020 23:18:22 -0400 Subject: [PATCH] Fix clang tidy --- src/weather_type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/weather_type.cpp b/src/weather_type.cpp index 79e58a34568fc..85cb64f134893 100644 --- a/src/weather_type.cpp +++ b/src/weather_type.cpp @@ -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 ) ); }