diff options
author | chriseth <chris@ethereum.org> | 2017-06-14 06:03:08 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-14 06:03:08 +0800 |
commit | 1bf717fd6513dda5336f95104cebfc0f041f3682 (patch) | |
tree | 2f615d0f3b474382f68e3ea62221999f526bbbed | |
parent | c554145f4d7063422a5e105e2b600b640cf3d8d1 (diff) | |
download | dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar.gz dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar.bz2 dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar.lz dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar.xz dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar.zst dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.zip |
Remove struct constructor.
-rw-r--r-- | libsolidity/inlineasm/AsmScope.cpp | 2 | ||||
-rw-r--r-- | libsolidity/inlineasm/AsmScope.h | 1 |
2 files changed, 1 insertions, 2 deletions
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<JuliaType> 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<JuliaType> const& _arguments, std::vector<JuliaType> const& _returns): arguments(_arguments), returns(_returns) {} std::vector<JuliaType> arguments; std::vector<JuliaType> returns; }; |