Skip to content

Commit

Permalink
Switch from list to vector.
Browse files Browse the repository at this point in the history
Co-Authored-By: John Bytheway <[email protected]>
  • Loading branch information
ishtatann and jbytheway authored Dec 17, 2019
1 parent 86b82e4 commit 11a3a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ std::string required_skills_as_string( _FIter first, _FIter last )

std::string recipe::primary_skill_string( const Character *c, bool print_skill_level ) const
{
std::list< std::pair<skill_id, int> > skillList;
std::vector< std::pair<skill_id, int> > skillList;

if( !skill_used.is_null() ) {
skillList.push_back( std::pair<skill_id, int>( skill_used, difficulty ) );
Expand Down

0 comments on commit 11a3a60

Please sign in to comment.