mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
182907645c
commit
c970812283
@ -57,7 +57,7 @@ public:
|
||||
/// insert - Insert an element into the set if it isn't already there.
|
||||
std::pair<iterator,bool> insert(const T &V) {
|
||||
iterator I = find(V);
|
||||
if (I == end()) // Don't reinsert if it already exists.
|
||||
if (I != end()) // Don't reinsert if it already exists.
|
||||
return std::make_pair(I, false);
|
||||
Vector.push_back(V);
|
||||
return std::make_pair(end()-1, true);
|
||||
|
Loading…
Reference in New Issue
Block a user