From: Daiki Ueno Date: Wed, 6 Mar 2013 06:17:03 +0000 (+0900) Subject: Fix commit 2509d5255bd13c016f575c13b92ccf4fed48a672. X-Git-Tag: v0.18.3~74^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2fea951142066fdb146fcbd35f6ca9eacf2f27d;p=thirdparty%2Fgettext.git Fix commit 2509d5255bd13c016f575c13b92ccf4fed48a672. --- diff --git a/gettext-runtime/libasprintf/autosprintf.cc b/gettext-runtime/libasprintf/autosprintf.cc index 1d3a8f275..5e867d3e1 100644 --- a/gettext-runtime/libasprintf/autosprintf.cc +++ b/gettext-runtime/libasprintf/autosprintf.cc @@ -35,7 +35,7 @@ # include #else # include -#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; }