From a6194b81aa1acc7107e3eedf770c2a5271bce371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 15 Jul 2019 18:29:09 +0200 Subject: [PATCH] Rename _errorList=>mShownErrors --- cli/cppcheckexecutor.cpp | 4 ++-- cli/cppcheckexecutor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 3c66f59ac..88c5b0983 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -996,10 +996,10 @@ static inline std::string ansiToOEM(const std::string &msg, bool doConvert) void CppCheckExecutor::reportErr(const std::string &errmsg) { // Alert only about unique errors - if (_errorList.find(errmsg) != _errorList.end()) + if (mShownErrors.find(errmsg) != mShownErrors.end()) return; - _errorList.insert(errmsg); + mShownErrors.insert(errmsg); if (mErrorOutput) *mErrorOutput << errmsg << std::endl; else { diff --git a/cli/cppcheckexecutor.h b/cli/cppcheckexecutor.h index 6fed8829c..a41c89616 100644 --- a/cli/cppcheckexecutor.h +++ b/cli/cppcheckexecutor.h @@ -165,7 +165,7 @@ private: /** * Used to filter out duplicate error messages. */ - std::set _errorList; + std::set mShownErrors; /** * Filename associated with size of file