diff options
author | Daiki Ueno <ueno@gnu.org> | 2013-03-06 15:17:03 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2013-03-06 15:17:03 +0900 |
commit | f2fea951142066fdb146fcbd35f6ca9eacf2f27d (patch) | |
tree | c1876e6b10d5aec6377905d0990861a2954c188b /gettext-runtime | |
parent | e9aee2cb86bb0204530be5c166869a44e21b86b3 (diff) | |
download | external_gettext-f2fea951142066fdb146fcbd35f6ca9eacf2f27d.zip external_gettext-f2fea951142066fdb146fcbd35f6ca9eacf2f27d.tar.gz external_gettext-f2fea951142066fdb146fcbd35f6ca9eacf2f27d.tar.bz2 |
Fix commit 2509d5255bd13c016f575c13b92ccf4fed48a672.
Diffstat (limited to 'gettext-runtime')
-rw-r--r-- | gettext-runtime/libasprintf/autosprintf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-runtime/libasprintf/autosprintf.cc b/gettext-runtime/libasprintf/autosprintf.cc index 1d3a8f2..5e867d3 100644 --- a/gettext-runtime/libasprintf/autosprintf.cc +++ b/gettext-runtime/libasprintf/autosprintf.cc @@ -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; } |