Make a comparator's argument `const'. This fixes the build for MSVC 9.

llvm-svn: 127245
This commit is contained in:
Oscar Fuentes 2011-03-08 13:52:07 +00:00
parent a693632dfd
commit 6ec5983a0c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
};