diff --git a/src/lib/cwe-mapper.cc b/src/lib/cwe-mapper.cc index 32e7d097..f80dff75 100644 --- a/src/lib/cwe-mapper.cc +++ b/src/lib/cwe-mapper.cc @@ -35,6 +35,7 @@ struct CweMap::Private { bool detectedByTool(Defect def, const char *tool) const; }; +// coverity[pass_by_value] bool CweMap::Private::detectedByTool(Defect def, const char *tool) const { // detect tool in case it is not explicitly specified