diff options
Diffstat (limited to 'libcxx/include/set')
| -rw-r--r-- | libcxx/include/set | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libcxx/include/set b/libcxx/include/set index 717703f191d..9248fd79b24 100644 --- a/libcxx/include/set +++ b/libcxx/include/set @@ -408,6 +408,13 @@ public: insert(__s.begin(), __s.end()); } + _LIBCPP_INLINE_VISIBILITY + set& operator=(const set& __s) + { + __tree_ = __s.__tree_; + return *this; + } + #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES _LIBCPP_INLINE_VISIBILITY set(set&& __s) @@ -738,6 +745,13 @@ public: insert(__s.begin(), __s.end()); } + _LIBCPP_INLINE_VISIBILITY + multiset& operator=(const multiset& __s) + { + __tree_ = __s.__tree_; + return *this; + } + #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES _LIBCPP_INLINE_VISIBILITY multiset(multiset&& __s) |

