Change std::setlocale to setlocale

This commit is contained in:
Adam Watkins 2022-05-01 17:01:33 +01:00
parent 04de10a3ae
commit d52e870fc7
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ int main(int argc, char** argv) {
srand(time(NULL) + rand()); // NOLINT
// use utf8 locale
std::setlocale(LC_ALL, "en_US.utf8");
setlocale(LC_ALL, "en_US.utf8");
T_START(total);

View file

@ -28,7 +28,7 @@ int main(int argc, char** argv) {
UNUSED(argc);
UNUSED(argv);
std::setlocale(LC_ALL, "en_US.utf8");
setlocale(LC_ALL, "en_US.utf8");
QuadTreeTest quadTreeTest;
quadTreeTest.run();