simplify
This commit is contained in:
@@ -550,14 +550,7 @@ void SongManager::GetPreferredSortSongs( vector<Song*> &AddTo ) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
FOREACH_CONST( SongPointerVector, m_vPreferredSongSort, v )
|
FOREACH_CONST( SongPointerVector, m_vPreferredSongSort, v )
|
||||||
{
|
AddTo.insert( AddTo.end(), v->begin(), v->end() );
|
||||||
FOREACH_CONST( Song*, *v, s )
|
|
||||||
{
|
|
||||||
Song* pSong = *s;
|
|
||||||
ASSERT( pSong );
|
|
||||||
AddTo.push_back( pSong );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SongManager::GetPreferredSortCourses( CourseType ct, vector<Course*> &AddTo, bool bIncludeAutogen ) const
|
void SongManager::GetPreferredSortCourses( CourseType ct, vector<Course*> &AddTo, bool bIncludeAutogen ) const
|
||||||
|
|||||||
Reference in New Issue
Block a user