re PR libstdc++/63353 (libstdc++-v3/src/c++11/ios.cc:232: possible typo ?)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 24 Sep 2014 09:40:10 +0000 (10:40 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 24 Sep 2014 09:40:10 +0000 (10:40 +0100)
PR libstdc++/63353
* src/c++11/ios.cc (ios_base::_M_swap): Fix typo.

From-SVN: r215549

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/ios.cc

index 5edfaff4d9520b8f774530b76f3e50590ab58287..2f8abd7dbf71692b5c214605267febc59d8d5bc8 100644 (file)
@@ -1,3 +1,8 @@
+2014-09-24  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/63353
+       * src/c++11/ios.cc (ios_base::_M_swap): Fix typo.
+
 2014-09-23  Jonathan Wakely  <jwakely@redhat.com>
 
        * config/abi/pre/gnu.ver: Adjust basic_ostream exports.
index b5124ec6a276ef9225588439be6b3abd4421a35e..0e136d439237e7ff1d86658a1e5403469c5daec9 100644 (file)
@@ -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
         {