mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 07:00:59 +00:00
Implement operator== and operator!= for SetVector.
llvm-svn: 105508
This commit is contained in:
parent
b8bc51b307
commit
e1853a7473
@ -143,6 +143,14 @@ public:
|
||||
vector_.pop_back();
|
||||
}
|
||||
|
||||
bool operator==(const SetVector &that) const {
|
||||
return vector_ == that.vector_;
|
||||
}
|
||||
|
||||
bool operator!=(const SetVector &that) const {
|
||||
return vector_ != that.vector_;
|
||||
}
|
||||
|
||||
private:
|
||||
set_type set_; ///< The set.
|
||||
vector_type vector_; ///< The vector.
|
||||
|
Loading…
x
Reference in New Issue
Block a user