1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Use explicit std:: qualification to avoid relying on Koenig lookup, which

VC++ does not do properly.  Thanks to Morten Ofstad for the patch!

llvm-svn: 16955
This commit is contained in:
Chris Lattner 2004-10-13 15:11:23 +00:00
parent a4756fd6be
commit ae45589b0f

View File

@ -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);
}