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 {
|
namespace {
|
||||||
struct VISIBILITY_HIDDEN CompareOptName {
|
struct VISIBILITY_HIDDEN CompareOptName {
|
||||||
bool operator()(const Record* A, const Record* B) {
|
bool operator()(const Record* A, const Record* B) const {
|
||||||
return getOptName(A) < getOptName(B);
|
return getOptName(A) < getOptName(B);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue