Fix compile error
This commit is contained in:
parent
2b968202bb
commit
aad455e1ea
|
@ -165,7 +165,7 @@ ErrorMessage::ErrorMessage(const ErrorPath &errorPath, const TokenList *tokenLis
|
||||||
|
|
||||||
std::ostringstream hashWarning;
|
std::ostringstream hashWarning;
|
||||||
for (const ErrorPathItem &e: errorPath)
|
for (const ErrorPathItem &e: errorPath)
|
||||||
hashWarning << std::hex << (tok ? tok->index() : 0) << " ";
|
hashWarning << std::hex << (e.first ? e.first->index() : 0) << " ";
|
||||||
hashWarning << mShortMessage;
|
hashWarning << mShortMessage;
|
||||||
|
|
||||||
hash = calculateWarningHash(tokenList, hashWarning.str());
|
hash = calculateWarningHash(tokenList, hashWarning.str());
|
||||||
|
|
Loading…
Reference in New Issue