SymbolDatabase: Fix Token::Match pattern

This commit is contained in:
Daniel Marjamäki 2016-01-02 20:00:18 +01:00
parent ce12e1cea6
commit 746d024e3d
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ SymbolDatabase::SymbolDatabase(const Tokenizer *tokenizer, const Settings *setti
function.throwArg = end->tokAt(arg);
function.isThrow(true);
} else if (Token::Match(end, ") const| &|&&|")) {
} else if (Token::Match(end, ") const| &|&&| [;{]")) {
int arg = 1;
if (end->strAt(arg) == "const")