summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2018-03-10 13:49:47 +0100
committerJosJuice <josjuice@gmail.com>2018-04-09 19:14:15 +0200
commit0dca432836a0d51c5540acffcaa8ae54444814d1 (patch)
treebc0123c1d24771f4980c7aa1a12e3e2ffdb72bb0 /Source/Core/Common/StringUtil.h
parent13d060491c12b5d5c6adf571b702e2d411cf39f6 (diff)
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.
Diffstat (limited to 'Source/Core/Common/StringUtil.h')
-rw-r--r--Source/Core/Common/StringUtil.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/Common/StringUtil.h b/Source/Core/Common/StringUtil.h
index ec2e5c6337..ef84fb6dcd 100644
--- a/Source/Core/Common/StringUtil.h
+++ b/Source/Core/Common/StringUtil.h
@@ -51,10 +51,6 @@ std::string ThousandSeparate(I value, int spaces = 0)
std::ostringstream stream;
#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;
#ifdef _WIN32