mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove struct constructor.
This commit is contained in:
parent
c554145f4d
commit
1bf717fd65
@ -46,7 +46,7 @@ bool Scope::registerFunction(string const& _name, std::vector<JuliaType> const&
|
||||
{
|
||||
if (exists(_name))
|
||||
return false;
|
||||
identifiers[_name] = Function(_arguments, _returns);
|
||||
identifiers[_name] = Function{_arguments, _returns};
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,6 @@ struct Scope
|
||||
|
||||
struct Function
|
||||
{
|
||||
Function(std::vector<JuliaType> const& _arguments, std::vector<JuliaType> const& _returns): arguments(_arguments), returns(_returns) {}
|
||||
std::vector<JuliaType> arguments;
|
||||
std::vector<JuliaType> returns;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user