mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Add Travis check for single parameter constructors not marked "explicit"
This commit is contained in:
parent
332c6134bb
commit
c4606b8432
8 changed files with 145 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue