Fixed compiler errors
This commit is contained in:
parent
3d0e090a13
commit
956a37a382
|
@ -267,7 +267,7 @@ void CppCheckExecutor::reportProgress(const std::string &filename, const char st
|
|||
|
||||
void CppCheckExecutor::reportInfo(const ErrorLogger::ErrorMessage &msg)
|
||||
{
|
||||
reportOut(msg.toXML(false, _settings._xml_version));
|
||||
reportOut(msg.toXML(false, _settings->_xml_version));
|
||||
}
|
||||
|
||||
void CppCheckExecutor::reportStatus(size_t fileindex, size_t filecount, size_t sizedone, size_t sizetotal)
|
||||
|
|
|
@ -286,7 +286,9 @@ public:
|
|||
* Output information messages.
|
||||
* @param msg Location and other information about the found error.
|
||||
*/
|
||||
virtual void reportInfo(const ErrorLogger::ErrorMessage &msg) = 0;
|
||||
virtual void reportInfo(const ErrorLogger::ErrorMessage &msg) {
|
||||
reportErr(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Report list of unmatched suppressions
|
||||
|
|
|
@ -2100,7 +2100,7 @@ void Preprocessor::missingInclude(const std::string &filename, unsigned int line
|
|||
const std::string id = userheader ? "missingInclude" : "debug";
|
||||
ErrorLogger::ErrorMessage errmsg(locationList, severity, "Include file: \"" + header + "\" not found.", id, false);
|
||||
errmsg.file0 = file0;
|
||||
errorLogger->reportInfo(errmsg);
|
||||
_errorLogger->reportInfo(errmsg);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue