From 81185af7f9ba0b92b3f1c4b910424c8e18b8664e Mon Sep 17 00:00:00 2001 From: Nicolas Le Cam Date: Sun, 14 Dec 2008 16:35:51 +0000 Subject: [PATCH] Add the last c++ cast operator --- tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokenize.cpp b/tokenize.cpp index 3a40f537b..d86090b07 100644 --- a/tokenize.cpp +++ b/tokenize.cpp @@ -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();