forked from OSchip/llvm-project
Add one more overload to make VS2008's debug mody happy.
sigh. llvm-svn: 176946
This commit is contained in:
parent
2e9b174da6
commit
dfbcba5ae0
|
@ -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