suppress 'internal error' message about failed template instantiation in release mode
This commit is contained in:
parent
cd4e355f17
commit
a30a64d280
|
@ -986,6 +986,7 @@ void Tokenizer::simplifyTemplates()
|
|||
|
||||
if (type.size() != types2.size())
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
std::list<ErrorLogger::ErrorMessage::FileLocation> locationList;
|
||||
ErrorLogger::ErrorMessage::FileLocation loc;
|
||||
loc.line = tok2->linenr();
|
||||
|
@ -998,6 +999,8 @@ void Tokenizer::simplifyTemplates()
|
|||
"internalError");
|
||||
|
||||
_errorLogger->reportErr(errmsg);
|
||||
#endif
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue