aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmScope.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-14 06:03:08 +0800
committerchriseth <chris@ethereum.org>2017-06-14 06:03:08 +0800
commit1bf717fd6513dda5336f95104cebfc0f041f3682 (patch)
tree2f615d0f3b474382f68e3ea62221999f526bbbed /libsolidity/inlineasm/AsmScope.cpp
parentc554145f4d7063422a5e105e2b600b640cf3d8d1 (diff)
downloaddexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar.gz
dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.tar.zst
dexon-solidity-1bf717fd6513dda5336f95104cebfc0f041f3682.zip
Remove struct constructor.
Diffstat (limited to 'libsolidity/inlineasm/AsmScope.cpp')
-rw-r--r--libsolidity/inlineasm/AsmScope.cpp2
1 files changed, 1 insertions, 1 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;
}