Require C++20 for building Stepmania.

This commit is contained in:
Brian Phlipot
2022-10-03 16:21:19 -07:00
committed by teejusb
parent 9755acddb7
commit 37aff00d6e
16 changed files with 55 additions and 125 deletions
+1 -1
View File
@@ -318,7 +318,7 @@ static void DoPlayOnceFromDir( RString sPath )
{
order.push_back(i);
}
std::random_shuffle(order.begin(), order.end());
std::shuffle( order.begin(), order.end(), g_RandomNumberGenerator );
}
int index = order.back();