OSDN Git Service

2010-01-09 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / bits / stl_multiset.h
index bb84b6b..dfbef1b 100644 (file)
@@ -234,12 +234,10 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
       multiset&
       operator=(multiset&& __x)
       {
-       if (this != &__x)
-         {
-           // NB: DR 675.
-           this->clear();
-           this->swap(__x);
-         }
+       // NB: DR 1204.
+       // NB: DR 675.
+       this->clear();
+       this->swap(__x);
        return *this;
       }