From e09a5875cac3e691bb9cc8301cb882d63b029cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Thu, 6 Dec 2018 15:37:39 +0000 Subject: rpc: Assert named arguments are unique in RPCHelpMan --- src/rpc/util.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/rpc/util.h') diff --git a/src/rpc/util.h b/src/rpc/util.h index 1d1df2c635..7dedb915fb 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -109,10 +109,7 @@ struct RPCArg { class RPCHelpMan { public: - RPCHelpMan(const std::string& name, const std::string& description, const std::vector& args) - : m_name{name}, m_description{description}, m_args{args} - { - } + RPCHelpMan(const std::string& name, const std::string& description, const std::vector& args); std::string ToString() const; -- cgit v1.2.3