forked from OSchip/llvm-project
DenseMap's move assignment operator needs to return *this
llvm-svn: 157644
This commit is contained in:
parent
797a1b37e5
commit
fd2d3c49c0
|
@ -256,6 +256,7 @@ public:
|
||||||
DestroyAll();
|
DestroyAll();
|
||||||
init(0);
|
init(0);
|
||||||
swap(other);
|
swap(other);
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue