aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-08-22 22:50:03 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-08-22 22:55:19 +0200
commitf1708ef89a38efe857daeb4252c6dfab5b7c258e (patch)
tree154fc96a4189ef41c4fb0d508f564d8090b140a6 /src
parent3e55f13bfc98a6b832697d1d0cfb942dbe2094db (diff)
Add recommendation: By default, declare single-argument constructors `explicit`
Diffstat (limited to 'src')
-rw-r--r--src/test/addrman_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp
index 2ad22d34ad..7be29c6d6b 100644
--- a/src/test/addrman_tests.cpp
+++ b/src/test/addrman_tests.cpp
@@ -15,7 +15,7 @@ class CAddrManTest : public CAddrMan
uint64_t state;
public:
- CAddrManTest(bool makeDeterministic = true)
+ explicit CAddrManTest(bool makeDeterministic = true)
{
state = 1;