mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-06 14:57:41 +00:00
Constify method to make VC++ happy. Patch by Brian Diekelman!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
77c5b0d7dc
commit
ef66abeaee
@ -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
Block a user