Set loop (plus white space)
This commit is contained in:
+2
-3
@@ -907,10 +907,9 @@ void SongUtil::GetAllSongGenres( vector<RString> &vsOut )
|
|||||||
if( !(*song)->m_sGenre.empty() )
|
if( !(*song)->m_sGenre.empty() )
|
||||||
genres.insert( (*song)->m_sGenre );
|
genres.insert( (*song)->m_sGenre );
|
||||||
}
|
}
|
||||||
|
for (RString const genre : genres)
|
||||||
FOREACHS_CONST( RString, genres, s )
|
|
||||||
{
|
{
|
||||||
vsOut.push_back( *s );
|
vsOut.push_back( genre );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user