Add the last c++ cast operator

This commit is contained in:
Nicolas Le Cam 2008-12-14 16:35:51 +00:00
parent 8b82ae1ac0
commit 81185af7f9
1 changed files with 1 additions and 1 deletions

View File

@ -1114,7 +1114,7 @@ bool Tokenizer::simplifyCasts()
ret = true;
}
else if ( TOKEN::Match(tok->next(), "dynamic_cast|reinterpret_cast|const_cast <" ) )
else if ( TOKEN::Match(tok->next(), "dynamic_cast|reinterpret_cast|const_cast|static_cast <" ) )
{
while ( tok->next() && tok->next()->str() != ">" )
tok->deleteNext();