summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/locale.cc
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2002-04-18 23:47:50 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2002-04-18 23:47:50 +0000
commit36ce7daa0448f03228d99bc6a081f693cd04ba48 (patch)
treeb620818e988b06e19978d5a14d76296e2d300e1a /libstdc++-v3/src/locale.cc
parent2f82dbf8658b933fdecbe751a9569ba48ef81e0c (diff)
downloadgcc-36ce7daa0448f03228d99bc6a081f693cd04ba48.tar.gz
localefwd.h (locale::id::_M_id): Do this correctly, as type safety is important, especially on solaris.
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. From-SVN: r52501
Diffstat (limited to 'libstdc++-v3/src/locale.cc')
-rw-r--r--libstdc++-v3/src/locale.cc3
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&