diff options
Diffstat (limited to 'libstdc++-v3/include/profile/multimap.h')
| -rw-r--r-- | libstdc++-v3/include/profile/multimap.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libstdc++-v3/include/profile/multimap.h b/libstdc++-v3/include/profile/multimap.h index c240e331aa6..d5627ad1d0a 100644 --- a/libstdc++-v3/include/profile/multimap.h +++ b/libstdc++-v3/include/profile/multimap.h @@ -106,12 +106,10 @@ namespace __profile multimap& operator=(multimap&& __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; } |

