removed an unnecessary function

This commit is contained in:
Liana Husikyan 2015-04-22 17:05:35 +02:00
parent f0cac2f6a9
commit 648ce85256
2 changed files with 0 additions and 8 deletions

View File

@ -124,11 +124,6 @@ FunctionDefinition const* ContractDefinition::getConstructor() const
return nullptr; return nullptr;
} }
FixedHash<4> ContractDefinition::getConstructorsInterface() const
{
return FixedHash<4>(dev::sha3(getConstructor()->externalSignature()));
}
FunctionDefinition const* ContractDefinition::getFallbackFunction() const FunctionDefinition const* ContractDefinition::getFallbackFunction() const
{ {
for (ContractDefinition const* contract: getLinearizedBaseContracts()) for (ContractDefinition const* contract: getLinearizedBaseContracts())

3
AST.h
View File

@ -281,9 +281,6 @@ public:
/// Returns the fallback function or nullptr if no fallback function was specified. /// Returns the fallback function or nullptr if no fallback function was specified.
FunctionDefinition const* getFallbackFunction() const; FunctionDefinition const* getFallbackFunction() const;
///@returns hash of the constructor
FixedHash<4> getConstructorsInterface() const;
private: private:
/// Checks that two functions defined in this contract with the same name have different /// Checks that two functions defined in this contract with the same name have different
/// arguments and that there is at most one constructor. /// arguments and that there is at most one constructor.