Skip to content

Commit a59df05

Browse files
committed
cwe-mapper: mark constant methods const
1 parent a77b278 commit a59df05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/cwe-mapper.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ struct CweMap::Private {
3232
TMapByChk mapByChk;
3333
ImpliedAttrDigger digger;
3434

35-
bool detectedByTool(Defect def, const char *tool);
35+
bool detectedByTool(Defect def, const char *tool) const;
3636
};
3737

38-
bool CweMap::Private::detectedByTool(Defect def, const char *tool)
38+
bool CweMap::Private::detectedByTool(Defect def, const char *tool) const
3939
{
4040
// detect tool in case it is not explicitly specified
4141
this->digger.inferToolFromChecker(&def);

0 commit comments

Comments
 (0)