From 1a3cf3949a70d36eda79388435e7fe97520cbf9c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 10 Apr 2007 23:59:59 +0000 Subject: [PATCH] reserve --- stepmania/src/SongUtil.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/SongUtil.cpp b/stepmania/src/SongUtil.cpp index 2f93027301..1ead783621 100644 --- a/stepmania/src/SongUtil.cpp +++ b/stepmania/src/SongUtil.cpp @@ -803,6 +803,7 @@ void SongUtil::GetAllSongGenres( vector &vsOut ) void SongUtil::FilterSongs( const SongCriteria &sc, const vector &in, vector &out ) { + out.reserve( in.size() ); FOREACH_CONST( Song*, in, s ) { if( sc.Matches( *s ) )