We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59df05 commit 9d0b717Copy full SHA for 9d0b717
src/lib/cwe-mapper.cc
@@ -109,7 +109,7 @@ bool CweMap::assignCwe(Defect &def) const
109
// lookup by event
110
const Private::TNumByEvent &row = rowIt->second;
111
const DefEvent &evt = def.events[def.keyEventIdx];
112
- Private::TNumByEvent::const_iterator cweIt = row.find(evt.event);
+ auto cweIt = row.find(evt.event);
113
if (row.end() == cweIt) {
114
if (cweDst)
115
// CWE already assigned, stay silent
0 commit comments