diff options
| author | practicalswift <[email protected]> | 2018-12-14 14:50:21 +0100 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2019-06-26 16:57:14 +0200 |
| commit | c4606b84329d760d7cee144bebe05807857edaae (patch) | |
| tree | b8abcff8c3b042e2782fc4b0bd6d2f3c68385a13 /src/rpc/util.h | |
| parent | Merge #15894: Remove duplicated "Error: " prefix in logs (diff) | |
| download | discoin-c4606b84329d760d7cee144bebe05807857edaae.tar.xz discoin-c4606b84329d760d7cee144bebe05807857edaae.zip | |
Add Travis check for single parameter constructors not marked "explicit"
Diffstat (limited to 'src/rpc/util.h')
| -rw-r--r-- | src/rpc/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h index 0eb2fef5c..457c3a2e8 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)) { |