util/IntrusiveForwardList: fix move operator, really swap counter
This commit is contained in:
parent
bef7ce37d9
commit
df7ed27b78
|
@ -157,7 +157,7 @@ public:
|
|||
IntrusiveForwardList &operator=(IntrusiveForwardList &&src) noexcept {
|
||||
using std::swap;
|
||||
swap(head, src.head);
|
||||
swap(counter, counter);
|
||||
swap(counter, src.counter);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue