diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-12-14 14:50:21 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2019-06-26 16:57:14 +0200 |
commit | c4606b84329d760d7cee144bebe05807857edaae (patch) | |
tree | b8abcff8c3b042e2782fc4b0bd6d2f3c68385a13 /src/interfaces | |
parent | 332c6134bb15384e5b91c631e821fe52a591d3bc (diff) |
Add Travis check for single parameter constructors not marked "explicit"
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/chain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp index 161dd01ffe..02f39cef8e 100644 --- a/src/interfaces/chain.cpp +++ b/src/interfaces/chain.cpp @@ -205,7 +205,7 @@ public: class RpcHandlerImpl : public Handler { public: - RpcHandlerImpl(const CRPCCommand& command) : m_command(command), m_wrapped_command(&command) + explicit RpcHandlerImpl(const CRPCCommand& command) : m_command(command), m_wrapped_command(&command) { m_command.actor = [this](const JSONRPCRequest& request, UniValue& result, bool last_handler) { if (!m_wrapped_command) return false; |