From: Jonathan Wakely Date: Sat, 3 Oct 2015 12:09:31 +0000 (+0100) Subject: Fix comments saying why headers are included X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4cfe221bf574585968988782748a96350f1e822;p=gcc.git Fix comments saying why headers are included * src/c++98/locale.cc: Fix comment. * src/c++98/locale_init.cc: Likewise. From-SVN: r228446 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e973c62824d..c01d8d5f8b1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2015-10-03 Jonathan Wakely + * src/c++98/locale.cc: Fix comment. + * src/c++98/locale_init.cc: Likewise. + * testsuite/21_strings/basic_string/literals/types.cc: Guard use of wchar_t with _GLIBCXX_USE_WCHAR_T. * testsuite/21_strings/basic_string/literals/values.cc: Likewise. diff --git a/libstdc++-v3/src/c++98/locale.cc b/libstdc++-v3/src/c++98/locale.cc index 1c29a56a250..3395c93d8d8 100644 --- a/libstdc++-v3/src/c++98/locale.cc +++ b/libstdc++-v3/src/c++98/locale.cc @@ -23,7 +23,6 @@ #define _GLIBCXX_USE_CXX11_ABI 1 #include #include -#include // For getenv #include #include // For towupper, etc. #include diff --git a/libstdc++-v3/src/c++98/locale_init.cc b/libstdc++-v3/src/c++98/locale_init.cc index 0a95b9ff4b5..be7fd9055d9 100644 --- a/libstdc++-v3/src/c++98/locale_init.cc +++ b/libstdc++-v3/src/c++98/locale_init.cc @@ -23,7 +23,7 @@ #define _GLIBCXX_USE_CXX11_ABI 1 #include #include -#include // For getenv, free. +#include // For free. #include #include // For towupper, etc. #include