mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Disambiguate call to operator==.
clang++ and msvc happily had no problem with it but g++ refuses to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
03c8383324
commit
9e7e04823c
@ -269,7 +269,7 @@ struct DenseMapInfo<ValueMapCallbackVH<KeyT, ValueT, Config> > {
|
||||
return LHS == RHS;
|
||||
}
|
||||
static bool isEqual(const KeyT &LHS, const VH &RHS) {
|
||||
return LHS == RHS;
|
||||
return LHS == RHS.getValPtr();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user