diff options
author | Christian <c@ethdev.com> | 2014-12-11 00:24:23 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-11 00:24:23 +0800 |
commit | 8b54d1afb2b3ad897330258367b2ce67c8a56940 (patch) | |
tree | afa0085f16b7a46cdf2681626d3fa898830ef2a3 /GlobalContext.h | |
parent | 373f0da2675f298984f265672d7414a58c061512 (diff) | |
parent | 3c377f77bbe75e65159e79a61696ba906ac22bda (diff) | |
download | dexon-solidity-8b54d1afb2b3ad897330258367b2ce67c8a56940.tar dexon-solidity-8b54d1afb2b3ad897330258367b2ce67c8a56940.tar.gz dexon-solidity-8b54d1afb2b3ad897330258367b2ce67c8a56940.tar.bz2 dexon-solidity-8b54d1afb2b3ad897330258367b2ce67c8a56940.tar.lz dexon-solidity-8b54d1afb2b3ad897330258367b2ce67c8a56940.tar.xz dexon-solidity-8b54d1afb2b3ad897330258367b2ce67c8a56940.tar.zst dexon-solidity-8b54d1afb2b3ad897330258367b2ce67c8a56940.zip |
Merge remote-tracking branch 'ethereum/develop' into sol_strings
Conflicts:
libsolidity/Types.cpp
Diffstat (limited to 'GlobalContext.h')
-rw-r--r-- | GlobalContext.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/GlobalContext.h b/GlobalContext.h index ddbd049c..50a21f70 100644 --- a/GlobalContext.h +++ b/GlobalContext.h @@ -47,17 +47,17 @@ class GlobalContext: private boost::noncopyable public: GlobalContext(); void setCurrentContract(ContractDefinition const& _contract); - MagicVariableDeclaration* getCurrentThis() const; + MagicVariableDeclaration const* getCurrentThis() const; /// @returns all magic variables. std::vector<MagicVariableDeclaration const*> getMagicVariables() const; /// @returns a vector of all implicit global declarations excluding "this". - std::vector<Declaration*> getDeclarations() const; + std::vector<Declaration const*> getDeclarations() const; private: - std::vector<std::shared_ptr<MagicVariableDeclaration>> m_magicVariables; + std::vector<std::shared_ptr<MagicVariableDeclaration const>> m_magicVariables; ContractDefinition const* m_currentContract; - std::map<ContractDefinition const*, std::shared_ptr<MagicVariableDeclaration>> mutable m_thisPointer; + std::map<ContractDefinition const*, std::shared_ptr<MagicVariableDeclaration const>> mutable m_thisPointer; }; } |