Use Assert() rather than assert()

This commit is contained in:
Matt Pharr
2012-01-08 13:30:45 -08:00
parent 5b4dbc8167
commit ff6971fb15
5 changed files with 5 additions and 6 deletions

View File

@@ -155,7 +155,7 @@ WalkAST(ASTNode *node, ASTPreCallBackFunc preFunc, ASTPostCallBackFunc postFunc,
else {
///////////////////////////////////////////////////////////////////////////
// Handle expressions
assert(dynamic_cast<Expr *>(node) != NULL);
Assert(dynamic_cast<Expr *>(node) != NULL);
UnaryExpr *ue;
BinaryExpr *be;
AssignExpr *ae;