aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.h
diff options
context:
space:
mode:
authorJoão Barbosa <[email protected]>2018-12-06 15:37:39 +0000
committerJoão Barbosa <[email protected]>2018-12-07 16:26:38 +0000
commite09a5875cac3e691bb9cc8301cb882d63b029cb0 (patch)
treebaa2921a856ff4b86496a44a20e78ad8857f51ca /src/rpc/util.h
parentMerge #14796: rpc: Pass argument descriptions to RPCHelpMan (diff)
downloaddiscoin-e09a5875cac3e691bb9cc8301cb882d63b029cb0.tar.xz
discoin-e09a5875cac3e691bb9cc8301cb882d63b029cb0.zip
rpc: Assert named arguments are unique in RPCHelpMan
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r--src/rpc/util.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 1d1df2c63..7dedb915f 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<RPCArg>& args)
- : m_name{name}, m_description{description}, m_args{args}
- {
- }
+ RPCHelpMan(const std::string& name, const std::string& description, const std::vector<RPCArg>& args);
std::string ToString() const;