Add std:: prefixes to all shuffle calls. Use unique_ptr instead of shared_ptr.
This commit is contained in:
+1
-1
@@ -304,7 +304,7 @@ void CourseUtil::AutogenOniFromArtist( const RString &sArtistName, RString sArti
|
||||
* song set changes. */
|
||||
{
|
||||
RandomGen rng( GetHashForString( sArtistName ) + aSongs.size() );
|
||||
shuffle( aSongs.begin(), aSongs.end(), rng );
|
||||
std::shuffle( aSongs.begin(), aSongs.end(), rng );
|
||||
}
|
||||
|
||||
// Only use up to four songs.
|
||||
|
||||
Reference in New Issue
Block a user