Fixed #1044 (Access violation with --enable=all)

This commit is contained in:
Daniel Marjamäki 2009-12-05 17:37:30 +01:00
parent 0b09c36851
commit 642469b93f
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ void CheckExceptionSafety::unsafeNew()
if (tok->str() != ")") if (tok->str() != ")")
continue; continue;
tok = tok->next(); tok = tok->next();
if (!tok)
break;
if (tok->str() != ":") if (tok->str() != ":")
continue; continue;