]> gcc.gnu.org Git - gcc.git/commit
PR libstdc++/78552 only construct std::locale for C locale once
authorJonathan Wakely <jwakely@redhat.com>
Wed, 26 Feb 2020 14:00:07 +0000 (14:00 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 26 Feb 2020 14:00:07 +0000 (14:00 +0000)
commit84a5534ce2f8233e6fe9c957ec51a2328bfe60e3
tree2323df176ea8e2fe3db4eff794bc6f289ef75f37
parent0ce89ea10d93a583854f02bc115e05cfd9d818e4
PR libstdc++/78552 only construct std::locale for C locale once

Backport from mainline
2019-10-09  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/78552
* src/c++98/locale_init.cc (locale::classic()): Do not construct a new
locale object for every call.
(locale::_S_initialize_once()): Construct C locale here.
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++98/locale_init.cc
This page took 0.061572 seconds and 6 git commands to generate.