summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/profile/deque
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/profile/deque')
-rw-r--r--libstdc++-v3/include/profile/deque10
1 files changed, 4 insertions, 6 deletions
diff --git a/libstdc++-v3/include/profile/deque b/libstdc++-v3/include/profile/deque
index 12f45d646fc..55e8d49d686 100644
--- a/libstdc++-v3/include/profile/deque
+++ b/libstdc++-v3/include/profile/deque
@@ -102,12 +102,10 @@ namespace __profile
deque&
operator=(deque&& __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;
}
OpenPOWER on IntegriCloud