diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-10-09 13:55:39 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-10-09 13:55:39 +0100 |
commit | 531b0a3172ed423175d7ebbf317cd79f4613735e (patch) | |
tree | ea115aff2c93ab9bcdb6630379d3bde014953159 /gcc/cp/lambda.c | |
parent | 6bbead0c5afef2752cd6a6b55208d738f65c95a6 (diff) | |
download | gcc-531b0a3172ed423175d7ebbf317cd79f4613735e.zip gcc-531b0a3172ed423175d7ebbf317cd79f4613735e.tar.gz gcc-531b0a3172ed423175d7ebbf317cd79f4613735e.tar.bz2 |
PR libstdc++/78552 only construct std::locale for C locale once
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.
From-SVN: r276758
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions