Fixed MSVC++ compiler warning (pointers are not bools)

This commit is contained in:
Pete Johns 2010-10-13 21:19:18 +11:00
parent 52e16454fa
commit afe52fa9f2
1 changed files with 1 additions and 1 deletions

View File

@ -3885,7 +3885,7 @@ bool CheckOther::isIdentifierObjectType(const Token * const tok)
}
const std::string classDefnOrDecl = std::string("class|struct ") + identifier + " [{:;]";
const bool result = Token::findmatch(_tokenizer->tokens(), classDefnOrDecl.c_str());
const bool result = Token::findmatch(_tokenizer->tokens(), classDefnOrDecl.c_str()) != NULL;
isClassResults.insert(std::make_pair(identifier, result));
return result;
}