mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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
This commit is contained in:
parent
c87b1db927
commit
fbb719c7f0
@ -112,7 +112,7 @@ public:
|
|||||||
/// @brief Remove an item from the set vector.
|
/// @brief Remove an item from the set vector.
|
||||||
void remove(const value_type& X) {
|
void remove(const value_type& X) {
|
||||||
if (0 < set_.erase(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!");
|
assert(I != vector_.end() && "Corrupted SetVector instances!");
|
||||||
vector_.erase(I);
|
vector_.erase(I);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user