llvm.org GIT mirror llvm / fbb719c
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 Chris Lattner 15 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
111111 /// @brief Remove an item from the set vector.
112112 void remove(const value_type& X) {
113113 if (0 < set_.erase(X)) {
114 iterator I = find(vector_.begin(),vector_.end(),X);
114 iterator I = std::find(vector_.begin(),vector_.end(),X);
115115 assert(I != vector_.end() && "Corrupted SetVector instances!");
116116 vector_.erase(I);
117117 }