Skip to content

Commit

Permalink
Merge pull request #70458 from CleverRaven/no-auto
Browse files Browse the repository at this point in the history
Fix clang warning
  • Loading branch information
akrieger authored Dec 26, 2023
2 parents db664ab + 1e1d144 commit 92a3704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mission_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ bool mission_type::parse_funcs( const JsonObject &jo, std::function<void( missio
};

for( talk_effect_fun_t &effect : talk_effects.effects ) {
auto rewards = effect.get_likely_rewards();
talk_effect_fun_t::likely_rewards_t rewards = effect.get_likely_rewards();
if( !rewards.empty() ) {
likely_rewards.insert( likely_rewards.end(), rewards.begin(), rewards.end() );
}
Expand Down

0 comments on commit 92a3704

Please sign in to comment.