aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
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
parentc554145f4d7063422a5e105e2b600b640cf3d8d1 (diff)
downloaddexon-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.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmScope.cpp2
-rw-r--r--libsolidity/inlineasm/AsmScope.h1
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;
};