Add std:: prefixes to all shuffle calls. Use unique_ptr instead of shared_ptr.

This commit is contained in:
Brian Phlipot
2022-10-03 16:21:19 -07:00
committed by teejusb
parent 95e55f5cdd
commit a0e805e511
7 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -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.