summaryrefslogtreecommitdiffstats
path: root/libcxx/include/map
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/map')
-rw-r--r--libcxx/include/map14
1 files changed, 14 insertions, 0 deletions
diff --git a/libcxx/include/map b/libcxx/include/map
index 9405617cccd..2bb352376b9 100644
--- a/libcxx/include/map
+++ b/libcxx/include/map
@@ -755,6 +755,13 @@ public:
insert(__m.begin(), __m.end());
}
+ _LIBCPP_INLINE_VISIBILITY
+ map& operator=(const map& __m)
+ {
+ __tree_ = __m.__tree_;
+ return *this;
+ }
+
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
@@ -1497,6 +1504,13 @@ public:
insert(__m.begin(), __m.end());
}
+ _LIBCPP_INLINE_VISIBILITY
+ multimap& operator=(const multimap& __m)
+ {
+ __tree_ = __m.__tree_;
+ return *this;
+ }
+
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
_LIBCPP_INLINE_VISIBILITY
OpenPOWER on IntegriCloud