Change std::setlocale to setlocale
This commit is contained in:
parent
04de10a3ae
commit
d52e870fc7
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue