From 8d6b3c1632fcc2be2efbeedc0e6280b0596dd45f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 24 Sep 2014 10:40:10 +0100 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/src/c++11/ios.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 { -- 2.30.2