mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Mark comparator call operator as const
llvm-svn: 290636
This commit is contained in:
parent
b6d58e94d4
commit
03477e9665
@ -737,7 +737,7 @@ namespace {
|
||||
|
||||
struct AliasPriorityComparator {
|
||||
typedef std::pair<CodeGenInstAlias, int> ValueType;
|
||||
bool operator()(const ValueType &LHS, const ValueType &RHS) {
|
||||
bool operator()(const ValueType &LHS, const ValueType &RHS) const {
|
||||
if (LHS.second == RHS.second) {
|
||||
// We don't actually care about the order, but for consistency it
|
||||
// shouldn't depend on pointer comparisons.
|
||||
|
Loading…
x
Reference in New Issue
Block a user