mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-23 12:01:15 +08:00
basic_ios.tcc (copyfmt(const basic_ios&)): Tweak my fix for libstdc++/12657.
2003-10-24 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)): Tweak my fix for libstdc++/12657. From-SVN: r72895
This commit is contained in:
parent
f922579438
commit
ebaeca8b55
@ -1,3 +1,8 @@
|
||||
2003-10-24 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
|
||||
Tweak my fix for libstdc++/12657.
|
||||
|
||||
2003-10-24 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/locale_facets.tcc (money_get::do_get(...,
|
||||
|
@ -62,9 +62,8 @@ namespace std
|
||||
{
|
||||
// _GLIBCXX_RESOLVE_LIB_DEFECTS
|
||||
// 292. effects of a.copyfmt (a)
|
||||
if (this == &__rhs)
|
||||
return *this;
|
||||
|
||||
if (this != &__rhs)
|
||||
{
|
||||
// Per 27.1.1, do not call imbue, yet must trash all caches
|
||||
// associated with imbue()
|
||||
|
||||
@ -108,7 +107,7 @@ namespace std
|
||||
|
||||
// The next is required to be the last assignment.
|
||||
this->exceptions(__rhs.exceptions());
|
||||
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user