aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Parser.cpp')
-rw-r--r--Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 4d5a50b3..c4bb5482 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -284,7 +284,7 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(VarDeclParserOp
if (_options.allowEmptyName && m_scanner->getCurrentToken() != Token::IDENTIFIER)
{
identifier = make_shared<ASTString>("");
- solAssert(!!type, "");
+ solAssert(type != nullptr, "");
nodeFactory.setEndPositionFromNode(type);
}
else