mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 01:25:49 +00:00
add a method to improve compatibility with SmallVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146928 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -144,6 +144,12 @@ public:
|
|||||||
set_.erase(back());
|
set_.erase(back());
|
||||||
vector_.pop_back();
|
vector_.pop_back();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
T pop_back_val() {
|
||||||
|
T Ret = back();
|
||||||
|
pop_back();
|
||||||
|
return Ret;
|
||||||
|
}
|
||||||
|
|
||||||
bool operator==(const SetVector &that) const {
|
bool operator==(const SetVector &that) const {
|
||||||
return vector_ == that.vector_;
|
return vector_ == that.vector_;
|
||||||
|
Reference in New Issue
Block a user