aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-02-12 16:03:32 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-02-12 16:03:32 +0800
commitf723627c852179ce54ab7628ea031240d5eecec6 (patch)
tree35746434c897a6d4e5ae4d90376b7d0944ef5f50
parent7035ae638afa6cd73f536870c84cb06726fb4f34 (diff)
parent2119a758b314848faa268a74dd218189725676c0 (diff)
downloaddexon-solidity-f723627c852179ce54ab7628ea031240d5eecec6.tar
dexon-solidity-f723627c852179ce54ab7628ea031240d5eecec6.tar.gz
dexon-solidity-f723627c852179ce54ab7628ea031240d5eecec6.tar.bz2
dexon-solidity-f723627c852179ce54ab7628ea031240d5eecec6.tar.lz
dexon-solidity-f723627c852179ce54ab7628ea031240d5eecec6.tar.xz
dexon-solidity-f723627c852179ce54ab7628ea031240d5eecec6.tar.zst
dexon-solidity-f723627c852179ce54ab7628ea031240d5eecec6.zip
Merge branch 'develop' into jsoncpp_path
-rw-r--r--CompilerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerContext.cpp b/CompilerContext.cpp
index 52910a55..01a71d7c 100644
--- a/CompilerContext.cpp
+++ b/CompilerContext.cpp
@@ -76,7 +76,7 @@ bytes const& CompilerContext::getCompiledContract(const ContractDefinition& _con
bool CompilerContext::isLocalVariable(Declaration const* _declaration) const
{
- return m_localVariables.count(_declaration);
+ return !!m_localVariables.count(_declaration);
}
eth::AssemblyItem CompilerContext::getFunctionEntryLabel(Declaration const& _declaration)