Internals: Fix GCC8 cppcheck warnings. No functional change.

This commit is contained in:
Wilson Snyder
2018-02-07 20:16:53 -05:00
parent 32859d9fc2
commit 22573d238b
15 changed files with 24 additions and 21 deletions
+1 -1
View File
@@ -795,7 +795,7 @@ private:
makePortList(nodep, rtnvarp, dpip);
}
bool duplicatedDpiProto(AstNodeFTask* nodep, string dpiproto) {
bool duplicatedDpiProto(AstNodeFTask* nodep, const string& dpiproto) {
// Only create one DPI extern prototype for each specified cname
// as it's legal for the user to attach multiple tasks to one dpi cname
DpiNames::iterator iter = m_dpiNames.find(nodep->cname());