Fix commit 2509d5255bd13c016f575c13b92ccf4fed48a672.

This commit is contained in:
Daiki Ueno 2013-03-06 15:17:03 +09:00
parent e9aee2cb86
commit f2fea95114

View File

@ -35,7 +35,7 @@
# include <utility>
#else
# include <algorithm>
#fi
#endif
namespace gnu
{
@ -59,7 +59,7 @@ namespace gnu
/* Copy constructor. Necessary because the destructor is nontrivial. */
autosprintf& autosprintf::operator = (autosprintf copy)
{
std::swap (tmp.str, this->str);
std::swap (copy.str, this->str);
return *this;
}