Skip to content

Commit 4effa83

Browse files
committed
cwe-name-lookup: remove const on arguments passed by value
... as that is useless in a function declaration
1 parent 4ac7a89 commit 4effa83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/cwe-name-lookup.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CweNameLookup: public AbstractCsvParser {
3131
~CweNameLookup() override;
3232

3333
/// return name of the given CWE ID, or an empty string if not found
34-
const std::string& lookup(const int cwe) const;
34+
const std::string& lookup(int cwe) const;
3535

3636
protected:
3737
bool /* continue */ handleLine(const TStringList &) override;

0 commit comments

Comments
 (0)