Skip to content
Snippets Groups Projects
Commit f6f23608 authored by scott snyder's avatar scott snyder
Browse files

TrigTauMatching: const fix

Fix const problem in DataVector iteration.
parent 4b1b8b0b
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ bool Trig::TrigTauMatchingTool::matchL1(const xAOD::TauJet *p, ...@@ -74,7 +74,7 @@ bool Trig::TrigTauMatchingTool::matchL1(const xAOD::TauJet *p,
{ {
if (c) if (c)
{ {
for (auto &it: *c) for (const xAOD::EmTauRoI* it : *c)
{ {
if (it->roiType() == xAOD::EmTauRoI::TauRoIWord) if (it->roiType() == xAOD::EmTauRoI::TauRoIWord)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment