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:
parent
f2e456d00e
commit
dc182eef2c
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue