]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix commit 2509d5255bd13c016f575c13b92ccf4fed48a672.
authorDaiki Ueno <ueno@gnu.org>
Wed, 6 Mar 2013 06:17:03 +0000 (15:17 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 6 Mar 2013 06:17:03 +0000 (15:17 +0900)
gettext-runtime/libasprintf/autosprintf.cc

index 1d3a8f275548eda88d8155a318052cb9554e9eae..5e867d3e1f1ee65261993e7882512d765cc33abc 100644 (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;
   }