drc_proto: thou shalt count rule hits from 1, not 0
This commit is contained in:
parent
8de484eff3
commit
b06c158764
|
@ -75,7 +75,7 @@ void test::DRC_TEST_PROVIDER::accountCheck( test::DRC_RULE* ruleToTest )
|
|||
{
|
||||
auto it = m_stats.find( ruleToTest );
|
||||
if( it == m_stats.end() )
|
||||
m_stats[ ruleToTest ] = 0;
|
||||
m_stats[ ruleToTest ] = 1;
|
||||
else
|
||||
it->second++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue