forked from OSchip/llvm-project
Constify method to make VC++ happy. Patch by Brian Diekelman!
llvm-svn: 68222
This commit is contained in:
parent
fbc8c132ba
commit
061cf25072
|
@ -135,8 +135,8 @@ static const std::string &getOptName(const Record *R) {
|
|||
|
||||
namespace {
|
||||
struct VISIBILITY_HIDDEN CompareOptName {
|
||||
bool operator()(const Record* A, const Record* B) {
|
||||
return getOptName(A) < getOptName(B);
|
||||
bool operator()(const Record* A, const Record* B) const {
|
||||
return getOptName(A) < getOptName(B);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue