astyle formatting

This commit is contained in:
Daniel Marjamäki 2010-04-25 14:56:04 +02:00
parent a1daf95b70
commit cda6fdb73d
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ CheckOther instance;
void CheckOther::warningOldStylePointerCast() void CheckOther::warningOldStylePointerCast()
{ {
if (!_settings->_checkCodingStyle || if (!_settings->_checkCodingStyle ||
(_tokenizer->tokens() && _tokenizer->fileLine(_tokenizer->tokens()).find(".cpp") == std::string::npos)) (_tokenizer->tokens() && _tokenizer->fileLine(_tokenizer->tokens()).find(".cpp") == std::string::npos))
return; return;
for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next()) for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next())