aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-02-09 18:09:03 +0800
committerLiana Husikyan <liana@ethdev.com>2015-02-09 18:09:03 +0800
commit75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe (patch)
tree899f41efaf45eba2cb8b5e79775b01a20c0ab51d
parent516e46ea6b6041ef1fe1e8070d3fc3063baceef6 (diff)
downloaddexon-solidity-75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe.tar
dexon-solidity-75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe.tar.gz
dexon-solidity-75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe.tar.bz2
dexon-solidity-75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe.tar.lz
dexon-solidity-75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe.tar.xz
dexon-solidity-75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe.tar.zst
dexon-solidity-75a5c20f541a7dc41f80bdb3b4fe3478d18ad4fe.zip
trying to avoid win_build problems
-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