Remove old code for using default locale

This isn't needed anymore now that the global C++ locale isn't
set to the classic locale.
This commit is contained in:
JosJuice 2018-03-10 13:49:47 +01:00
parent 13d060491c
commit 0dca432836
1 changed files with 0 additions and 4 deletions

View File

@ -51,10 +51,6 @@ std::string ThousandSeparate(I value, int spaces = 0)
std::ostringstream stream; std::ostringstream stream;
#endif #endif
// std::locale("") seems to be broken on many platforms
#if defined _WIN32 || (defined __linux__ && !defined __clang__)
stream.imbue(std::locale(""));
#endif
stream << std::setw(spaces) << value; stream << std::setw(spaces) << value;
#ifdef _WIN32 #ifdef _WIN32