aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-12 03:20:37 +0800
committerChristian <c@ethdev.com>2015-02-12 03:20:37 +0800
commit2119a758b314848faa268a74dd218189725676c0 (patch)
tree17ff98501c6455e316e9a06f6569259d1704fc33 /CompilerContext.cpp
parent11b4e7f7d8cf45be2717bb249cf966788f486ede (diff)
downloaddexon-solidity-2119a758b314848faa268a74dd218189725676c0.tar.gz
dexon-solidity-2119a758b314848faa268a74dd218189725676c0.tar.zst
dexon-solidity-2119a758b314848faa268a74dd218189725676c0.zip
Some windows 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 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)