From 1bf717fd6513dda5336f95104cebfc0f041f3682 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 14 Jun 2017 00:03:08 +0200 Subject: Remove struct constructor. --- libsolidity/inlineasm/AsmScope.cpp | 2 +- libsolidity/inlineasm/AsmScope.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'libsolidity') diff --git a/libsolidity/inlineasm/AsmScope.cpp b/libsolidity/inlineasm/AsmScope.cpp index 7a086846..1db5ca41 100644 --- a/libsolidity/inlineasm/AsmScope.cpp +++ b/libsolidity/inlineasm/AsmScope.cpp @@ -46,7 +46,7 @@ bool Scope::registerFunction(string const& _name, std::vector const& { if (exists(_name)) return false; - identifiers[_name] = Function(_arguments, _returns); + identifiers[_name] = Function{_arguments, _returns}; return true; } diff --git a/libsolidity/inlineasm/AsmScope.h b/libsolidity/inlineasm/AsmScope.h index 23cf61f2..c8e38c8a 100644 --- a/libsolidity/inlineasm/AsmScope.h +++ b/libsolidity/inlineasm/AsmScope.h @@ -77,7 +77,6 @@ struct Scope struct Function { - Function(std::vector const& _arguments, std::vector const& _returns): arguments(_arguments), returns(_returns) {} std::vector arguments; std::vector returns; }; -- cgit v1.2.3