1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Improvement to OSX double->string conversion for better speed + thread-safety.

This commit is contained in:
jules 2013-12-17 20:14:54 +00:00
parent f2e456d00e
commit dc182eef2c

View file

@ -425,7 +425,8 @@ namespace NumberToStringConverters
{
explicit StackArrayStream (char* d)
{
imbue (std::locale::classic());
static const std::locale classicLocale (std::locale::classic());
imbue (classicLocale);
setp (d, d + charsNeededForDouble);
}