Skip to content
Snippets Groups Projects
Commit 23e2a150 authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

TrigT1CaloByteStream: Missing const qualifier.

Add const qualifier needed to compile with DataVector once the
const_iterator bug is fixed.



Former-commit-id: 1ac3d202
parent 03c76cb1
No related branches found
No related tags found
No related merge requests found
......@@ -1575,7 +1575,7 @@ void JepByteStreamV1Tool::setupJeMap(const JetElementCollection*
JetElementCollection::const_iterator pos = jeCollection->begin();
JetElementCollection::const_iterator pose = jeCollection->end();
for (; pos != pose; ++pos) {
LVL1::JetElement* const je = *pos;
const LVL1::JetElement* je = *pos;
const unsigned int key = m_elementKey->jeKey(je->phi(), je->eta());
m_jeMap.insert(std::make_pair(key, je));
}
......
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