mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Add one more overload to make VS2008's debug mody happy.
sigh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c5f77da0a1
commit
dec29b61a4
@ -610,6 +610,9 @@ struct StringComparator {
|
||||
// Provided for compatibility with MSVC's debug mode.
|
||||
bool operator()(StringRef LHS, const char *RHS) const { return LHS < RHS; }
|
||||
bool operator()(StringRef LHS, StringRef RHS) const { return LHS < RHS; }
|
||||
bool operator()(const char *LHS, const char *RHS) const {
|
||||
return std::strcmp(LHS, RHS) < 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user