diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-13 15:11:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-13 15:11:23 +0000 |
commit | fbb719c7f026525d54a8332ef66c7514a0cf2383 (patch) | |
tree | 8438d8fc8e4c1e2bfe7774522dd615f34783c7ce /include/llvm/ADT | |
parent | c87b1db927226400e6ee4e1eeb050a6b24c34a96 (diff) | |
download | external_llvm-fbb719c7f026525d54a8332ef66c7514a0cf2383.zip external_llvm-fbb719c7f026525d54a8332ef66c7514a0cf2383.tar.gz external_llvm-fbb719c7f026525d54a8332ef66c7514a0cf2383.tar.bz2 |
Use explicit std:: qualification to avoid relying on Koenig lookup, which
VC++ does not do properly. Thanks to Morten Ofstad for the patch!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/SetVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SetVector.h b/include/llvm/ADT/SetVector.h index cd5c2df..b40ed7c 100644 --- a/include/llvm/ADT/SetVector.h +++ b/include/llvm/ADT/SetVector.h @@ -112,7 +112,7 @@ public: /// @brief Remove an item from the set vector. void remove(const value_type& X) { if (0 < set_.erase(X)) { - iterator I = find(vector_.begin(),vector_.end(),X); + iterator I = std::find(vector_.begin(),vector_.end(),X); assert(I != vector_.end() && "Corrupted SetVector instances!"); vector_.erase(I); } |