Skip to content

Commit

Permalink
Merge pull request #29595 from mrodozov/fix-llvm10-warn-alignment
Browse files Browse the repository at this point in the history
[LLVM10] Alignment fix clang warnings
  • Loading branch information
cmsbuild authored May 2, 2020
2 parents 612b693 + 48595e6 commit 7986b22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ unsigned int RunRangeDependentPedeLabeler::numberOfParameterInstances(Alignable*
if (positionAli != theAlignableToRunRangeRangeMap.end()) {
size_t nRunRanges = 1;
if (param == -1) {
for (const auto iParam : (*positionAli).second) {
for (const auto& iParam : (*positionAli).second) {
nRunRanges = std::max(nRunRanges, iParam.second.size());
}
return nRunRanges;
Expand Down

0 comments on commit 7986b22

Please sign in to comment.