forked from boostorg/unordered
Add missing return for operator=.
[SVN r51504]
This commit is contained in:
@ -144,6 +144,7 @@ namespace test
|
|||||||
list& operator=(list const& other) {
|
list& operator=(list const& other) {
|
||||||
clear();
|
clear();
|
||||||
insert(other.begin(), other.end());
|
insert(other.begin(), other.end());
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
iterator begin() { return iterator(data_.first_); }
|
iterator begin() { return iterator(data_.first_); }
|
||||||
|
Reference in New Issue
Block a user