Commit ebaeca8b by Paolo Carlini Committed by Paolo Carlini

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
parent f9225794
2003-10-24 Paolo Carlini <pcarlini@suse.de> 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(..., * include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Minor tweak to the previous commit. string_type&): Minor tweak to the previous commit.
......
...@@ -62,9 +62,8 @@ namespace std ...@@ -62,9 +62,8 @@ namespace std
{ {
// _GLIBCXX_RESOLVE_LIB_DEFECTS // _GLIBCXX_RESOLVE_LIB_DEFECTS
// 292. effects of a.copyfmt (a) // 292. effects of a.copyfmt (a)
if (this == &__rhs) if (this != &__rhs)
return *this; {
// Per 27.1.1, do not call imbue, yet must trash all caches // Per 27.1.1, do not call imbue, yet must trash all caches
// associated with imbue() // associated with imbue()
...@@ -108,7 +107,7 @@ namespace std ...@@ -108,7 +107,7 @@ namespace std
// The next is required to be the last assignment. // The next is required to be the last assignment.
this->exceptions(__rhs.exceptions()); this->exceptions(__rhs.exceptions());
}
return *this; return *this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment