Rename _errorList=>mShownErrors

This commit is contained in:
Daniel Marjamäki 2019-07-15 18:29:09 +02:00
parent 5037ad3d42
commit a6194b81aa
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -165,7 +165,7 @@ private:
/**
* Used to filter out duplicate error messages.
*/
std::set<std::string> _errorList;
std::set<std::string> mShownErrors;
/**
* Filename associated with size of file