diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-04-22 23:05:35 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-04-27 19:08:32 +0800 |
commit | 648ce852561a1a28bebf3be1a64480aee560bf7a (patch) | |
tree | 0bae48d386b4be3299a9708bc2306f5d12ff70fd | |
parent | f0cac2f6a928c1a6765052e0fd07cab0b936b23f (diff) | |
download | dexon-solidity-648ce852561a1a28bebf3be1a64480aee560bf7a.tar dexon-solidity-648ce852561a1a28bebf3be1a64480aee560bf7a.tar.gz dexon-solidity-648ce852561a1a28bebf3be1a64480aee560bf7a.tar.bz2 dexon-solidity-648ce852561a1a28bebf3be1a64480aee560bf7a.tar.lz dexon-solidity-648ce852561a1a28bebf3be1a64480aee560bf7a.tar.xz dexon-solidity-648ce852561a1a28bebf3be1a64480aee560bf7a.tar.zst dexon-solidity-648ce852561a1a28bebf3be1a64480aee560bf7a.zip |
removed an unnecessary function
-rw-r--r-- | AST.cpp | 5 | ||||
-rw-r--r-- | AST.h | 3 |
2 files changed, 0 insertions, 8 deletions
@@ -124,11 +124,6 @@ FunctionDefinition const* ContractDefinition::getConstructor() const return nullptr; } -FixedHash<4> ContractDefinition::getConstructorsInterface() const -{ - return FixedHash<4>(dev::sha3(getConstructor()->externalSignature())); -} - FunctionDefinition const* ContractDefinition::getFallbackFunction() const { for (ContractDefinition const* contract: getLinearizedBaseContracts()) @@ -281,9 +281,6 @@ public: /// Returns the fallback function or nullptr if no fallback function was specified. FunctionDefinition const* getFallbackFunction() const; - ///@returns hash of the constructor - FixedHash<4> getConstructorsInterface() const; - private: /// Checks that two functions defined in this contract with the same name have different /// arguments and that there is at most one constructor. |