OSDN Git Service

2010-01-09 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / debug / multimap.h
index 4ef2990..32a5429 100644 (file)
@@ -116,12 +116,10 @@ namespace __debug
       multimap&
       operator=(multimap&& __x)
       {
-       if (this != &__x)
-         {
-           // NB: DR 675.
-           clear();
-           swap(__x);
-         }
+       // NB: DR 1204.
+       // NB: DR 675.
+       clear();
+       swap(__x);
        return *this;
       }