Skip to content

Commit 96de68c

Browse files
committed
[BOLT] Fix build failure
Changed the mismatched type to `auto`.
1 parent 3be96da commit 96de68c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Passes/MarkRAStates.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Error MarkRAStates::runOnFunctions(BinaryContext &BC) {
133133

134134
int Total = llvm::count_if(
135135
BC.getBinaryFunctions(),
136-
[&](std::pair<const unsigned long, BinaryFunction> &P) {
136+
[&](auto &P) {
137137
return P.second.containedNegateRAState() && !P.second.isIgnored();
138138
});
139139

0 commit comments

Comments
 (0)