aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2018-12-14 14:50:21 +0100
committerpracticalswift <[email protected]>2019-06-26 16:57:14 +0200
commitc4606b84329d760d7cee144bebe05807857edaae (patch)
treeb8abcff8c3b042e2782fc4b0bd6d2f3c68385a13 /src/interfaces/chain.cpp
parentMerge #15894: Remove duplicated "Error: " prefix in logs (diff)
downloaddiscoin-c4606b84329d760d7cee144bebe05807857edaae.tar.xz
discoin-c4606b84329d760d7cee144bebe05807857edaae.zip
Add Travis check for single parameter constructors not marked "explicit"
Diffstat (limited to 'src/interfaces/chain.cpp')
-rw-r--r--src/interfaces/chain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp
index 161dd01ff..02f39cef8 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;