Rename _errorList=>mShownErrors
This commit is contained in:
parent
5037ad3d42
commit
a6194b81aa
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue