1 parent 8f88956 commit abdf5ffCopy full SHA for abdf5ff
1 file changed
lib/cppcheck.cpp
@@ -100,7 +100,7 @@ class CppCheck::CppCheckLogger : public ErrorLogger
100
closePlist();
101
}
102
103
- void addRemarkComments(std::vector<RemarkComment> remarkComments)
+ void addRemarkComments(const std::vector<RemarkComment> &remarkComments)
104
{
105
mRemarkComments.insert(mRemarkComments.end(), remarkComments.begin(), remarkComments.end());
106
0 commit comments