aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-08 18:43:17 +0800
committerGav Wood <i@gavwood.com>2015-03-08 18:43:17 +0800
commit67ffc3db714bf1a4930a9e340e500285e985222f (patch)
tree74d0e5faf068b4ab890f6d2db9fe5dcedef0014f /CompilerContext.cpp
parent0e50ef1ee0b2ecec1596c1aba0809a843652da43 (diff)
downloaddexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar
dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.gz
dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.bz2
dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.lz
dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.xz
dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.tar.zst
dexon-solidity-67ffc3db714bf1a4930a9e340e500285e985222f.zip
Solidity fixes.
Diffstat (limited to 'CompilerContext.cpp')
-rw-r--r--CompilerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerContext.cpp b/CompilerContext.cpp
index 61c25052..ee8d3e00 100644
--- a/CompilerContext.cpp
+++ b/CompilerContext.cpp
@@ -63,7 +63,7 @@ void CompilerContext::addVariable(VariableDeclaration const& _declaration,
void CompilerContext::removeVariable(VariableDeclaration const& _declaration)
{
- solAssert(m_localVariables.count(&_declaration), "");
+ solAssert(!!m_localVariables.count(&_declaration), "");
m_localVariables.erase(&_declaration);
}