diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-18 23:47:50 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-18 23:47:50 +0000 |
commit | 86988432fce0c7ea15f9e0328296c71a25128825 (patch) | |
tree | b620818e988b06e19978d5a14d76296e2d300e1a /libstdc++-v3/src/locale.cc | |
parent | d4f13d242d5c9a58002cf467666488ea120e0803 (diff) | |
download | gcc-86988432fce0c7ea15f9e0328296c71a25128825.tar.gz |
2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
as type safety is important, especially on solaris.
* include/bits/istream.tcc (istream::read): Clean.
(istream::readsome): Same.
* locale.cc: Wrap lines.
* testsuite/21_strings/inserters_extractors.cc: Tweaks.
* testsuite/27_io/instantiations.cc (test): Add bool variable...
* testsuite/21_strings/capacity.cc: Clean.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52501 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/locale.cc')
-rw-r--r-- | libstdc++-v3/src/locale.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/src/locale.cc b/libstdc++-v3/src/locale.cc index 54693cb2059..26c2834eb7d 100644 --- a/libstdc++-v3/src/locale.cc +++ b/libstdc++-v3/src/locale.cc @@ -226,7 +226,8 @@ namespace std locale::operator==(const locale& __rhs) const throw() { string __name = this->name(); - return (_M_impl == __rhs._M_impl || (__name != "*" && __name == __rhs.name())); + return (_M_impl == __rhs._M_impl + || (__name != "*" && __name == __rhs.name())); } const locale& |