Commit 75f29cdd by Benjamin Kosnik Committed by Benjamin Kosnik

re PR c++/16169 (-Weffc++ item 15 improvements)


2004-07-08  Benjamin Kosnik  <bkoz@redhat.com>

	PR c++/16169
	* include/bits/basic_string.h (basic_string::operator=): Revert.

From-SVN: r84296
parent 6f263171
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.
......
......@@ -419,10 +419,7 @@ namespace std
*/
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.
......@@ -430,10 +427,7 @@ namespace std
*/
basic_string&
operator=(const _CharT* __s)
{
this->assign(__s);
return *this;
}
{ return this->assign(__s); }
/**
* @brief Set value to string of length 1.
......
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