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

