Browse Source

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

tags/2021-05-28
jules 12 years ago
parent
commit
dc182eef2c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_core/text/juce_String.cpp

+ 2
- 1
modules/juce_core/text/juce_String.cpp 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);
}


Loading…
Cancel
Save