diff options
Diffstat (limited to 'Parser.cpp')
-rw-r--r-- | Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |