Add the last c++ cast operator
This commit is contained in:
parent
8b82ae1ac0
commit
81185af7f9
|
@ -1114,7 +1114,7 @@ bool Tokenizer::simplifyCasts()
|
||||||
ret = true;
|
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() != ">" )
|
while ( tok->next() && tok->next()->str() != ">" )
|
||||||
tok->deleteNext();
|
tok->deleteNext();
|
||||||
|
|
Loading…
Reference in New Issue