From: Jonathan Wakely Date: Wed, 24 Sep 2014 09:40:10 +0000 (+0100) Subject: re PR libstdc++/63353 (libstdc++-v3/src/c++11/ios.cc:232: possible typo ?) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d6b3c1632fcc2be2efbeedc0e6280b0596dd45f;p=gcc.git re PR libstdc++/63353 (libstdc++-v3/src/c++11/ios.cc:232: possible typo ?) PR libstdc++/63353 * src/c++11/ios.cc (ios_base::_M_swap): Fix typo. From-SVN: r215549 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5edfaff4d95..2f8abd7dbf7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2014-09-24 Jonathan Wakely + + PR libstdc++/63353 + * src/c++11/ios.cc (ios_base::_M_swap): Fix typo. + 2014-09-23 Jonathan Wakely * config/abi/pre/gnu.ver: Adjust basic_ostream exports. diff --git a/libstdc++-v3/src/c++11/ios.cc b/libstdc++-v3/src/c++11/ios.cc index b5124ec6a27..0e136d43923 100644 --- a/libstdc++-v3/src/c++11/ios.cc +++ b/libstdc++-v3/src/c++11/ios.cc @@ -229,7 +229,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION std::swap(_M_local_word, __rhs._M_local_word); // array swap else { - if (!__lhs_local && !__lhs_local) + if (!__lhs_local && !__rhs_local) std::swap(_M_word, __rhs._M_word); else {