Fixed some CppCheck Performance warnings

This commit is contained in:
Jacob Støren
2017-03-03 16:23:20 +01:00
parent ba2e4ca3f2
commit b00ad4ba4a
9 changed files with 10 additions and 10 deletions

View File

@@ -36,7 +36,7 @@
class RifKeywordLocation
{
public:
RifKeywordLocation(std::string keyword, size_t itemCount, int indexWithinReportStep)
RifKeywordLocation(const std::string& keyword, size_t itemCount, int indexWithinReportStep)
: m_keyword(keyword),
m_itemCount(itemCount),
m_indexWithinReportStep(indexWithinReportStep)