2004-07-08 Benjamin Kosnik <bkoz@redhat.com>
PR c++/16169
* include/bits/basic_string.h (basic_string::operator=): Revert.
From-SVN: r84296
+2004-07-08 Benjamin Kosnik <bkoz@redhat.com>
+
+ PR c++/16169
+ * include/bits/basic_string.h (basic_string::operator=): Revert.
+
2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac (libtool_VERSION): To 6:2:0.
*/
basic_string&
operator=(const basic_string& __str)
- {
- this->assign(__str);
- return *this;
- }
+ { return this->assign(__str); }
/**
* @brief Copy contents of @a s into this string.
*/
basic_string&
operator=(const _CharT* __s)
- {
- this->assign(__s);
- return *this;
- }
+ { return this->assign(__s); }
/**
* @brief Set value to string of length 1.