Require C++20 for building Stepmania.

This commit is contained in:
Brian Phlipot
2022-08-02 18:16:12 -06:00
committed by teejusb
parent 9755acddb7
commit 37aff00d6e
16 changed files with 55 additions and 125 deletions
+1 -1
View File
@@ -538,7 +538,7 @@ void BackgroundImpl::LoadFromSong( const Song* pSong )
// Pick the same random items every time the song is played.
RandomGen rnd( GetHashForString(pSong->GetSongDir()) );
random_shuffle( vsNames.begin(), vsNames.end(), rnd );
std::shuffle( vsNames.begin(), vsNames.end(), rnd );
int iSize = std::min( (int)g_iNumBackgrounds, (int)vsNames.size() );
vsNames.resize( iSize );