Remove struct constructor.

This commit is contained in:
chriseth 2017-06-14 00:03:08 +02:00
parent c554145f4d
commit 1bf717fd65
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
};