aboutsummaryrefslogtreecommitdiffstats
path: root/GlobalContext.cpp
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-08 20:56:30 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-12-08 20:56:30 +0800
commit6afb6757d785fab414915ab11c1784b585669143 (patch)
tree862171b42c5f76365d6ae0e3c50d3e1c4111343d /GlobalContext.cpp
parentddf473aa0b3684ac2c3ad9f6135e3be6cb2b06e7 (diff)
parent260a1529a758fb7b75840e05d8c0be18975ff3b2 (diff)
downloaddexon-solidity-6afb6757d785fab414915ab11c1784b585669143.tar
dexon-solidity-6afb6757d785fab414915ab11c1784b585669143.tar.gz
dexon-solidity-6afb6757d785fab414915ab11c1784b585669143.tar.bz2
dexon-solidity-6afb6757d785fab414915ab11c1784b585669143.tar.lz
dexon-solidity-6afb6757d785fab414915ab11c1784b585669143.tar.xz
dexon-solidity-6afb6757d785fab414915ab11c1784b585669143.tar.zst
dexon-solidity-6afb6757d785fab414915ab11c1784b585669143.zip
Merge branch 'develop' into build_enhancement
Diffstat (limited to 'GlobalContext.cpp')
-rw-r--r--GlobalContext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/GlobalContext.cpp b/GlobalContext.cpp
index b54b93c0..2d384a15 100644
--- a/GlobalContext.cpp
+++ b/GlobalContext.cpp
@@ -74,11 +74,10 @@ vector<Declaration*> GlobalContext::getDeclarations() const
declarations.reserve(m_magicVariables.size() + 1);
for (ASTPointer<Declaration> const& variable: m_magicVariables)
declarations.push_back(variable.get());
- declarations.push_back(getCurrentThis());
return declarations;
}
-MagicVariableDeclaration*GlobalContext::getCurrentThis() const
+MagicVariableDeclaration* GlobalContext::getCurrentThis() const
{
if (!m_thisPointer[m_currentContract])
m_thisPointer[m_currentContract] = make_shared<MagicVariableDeclaration>(