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

AthenaKernel: Coverity 118547.

Fix coverity warning: shadowed parameter.
parent a668a9ae
No related branches found
No related tags found
No related merge requests found
...@@ -193,9 +193,8 @@ bool MetaCont<T>::find(const SourceID& it, T*& t) const { ...@@ -193,9 +193,8 @@ bool MetaCont<T>::find(const SourceID& it, T*& t) const {
return true; return true;
} }
else { else {
typename MetaContSet::const_iterator it=m_metaSet.begin(); for (const auto& elt : m_metaSet) {
for (; it != m_metaSet.end(); ++it) { std::cerr << "Container has SID=" << elt.first << std::endl;
std::cerr << "Container has SID=" << it->first << std::endl;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment