forked from OSchip/llvm-project
Make a comparator's argument `const'. This fixes the build for MSVC 9.
llvm-svn: 127245
This commit is contained in:
parent
a693632dfd
commit
6ec5983a0c
|
@ -36,7 +36,7 @@ struct CompEnd {
|
|||
bool operator()(SlotIndex A, const LiveRange &B) const {
|
||||
return A < B.end;
|
||||
}
|
||||
bool operator()(const LiveRange &A, SlotIndex B) const {
|
||||
bool operator()(const LiveRange &A, const SlotIndex B) const {
|
||||
return A.end < B;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue