mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 03:28:35 +00:00
Add one more overload to make VS2008's debug mody happy.
sigh. llvm-svn: 176946
This commit is contained in:
parent
da9959242b
commit
10d47de154
@ -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