From f2fea951142066fdb146fcbd35f6ca9eacf2f27d Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 6 Mar 2013 15:17:03 +0900 Subject: [PATCH] Fix commit 2509d5255bd13c016f575c13b92ccf4fed48a672. --- gettext-runtime/libasprintf/autosprintf.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }