aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-12-14 14:50:21 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2019-06-26 16:57:14 +0200
commitc4606b84329d760d7cee144bebe05807857edaae (patch)
treeb8abcff8c3b042e2782fc4b0bd6d2f3c68385a13 /src/rpc
parent332c6134bb15384e5b91c631e821fe52a591d3bc (diff)
Add Travis check for single parameter constructors not marked "explicit"
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 0eb2fef5c3..457c3a2e8f 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -221,7 +221,7 @@ struct RPCResults {
struct RPCExamples {
const std::string m_examples;
- RPCExamples(
+ explicit RPCExamples(
std::string examples)
: m_examples(std::move(examples))
{