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

@@ -52,7 +52,7 @@ RifEclipseOutputFileTools::~RifEclipseOutputFileTools()
struct KeywordItemCounter
{
KeywordItemCounter(std::string keyword, size_t aggregatedItemCount)
KeywordItemCounter(const std::string& keyword, size_t aggregatedItemCount)
: m_keyword(keyword),
m_aggregatedItemCount(aggregatedItemCount),
m_reportStepCount(1)