aboutsummaryrefslogtreecommitdiff
path: root/src/netmessagemaker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/netmessagemaker.h')
-rw-r--r--src/netmessagemaker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netmessagemaker.h b/src/netmessagemaker.h
index 8e8a6e4a02..79b2501c5d 100644
--- a/src/netmessagemaker.h
+++ b/src/netmessagemaker.h
@@ -12,7 +12,7 @@
class CNetMsgMaker
{
public:
- CNetMsgMaker(int nVersionIn) : nVersion(nVersionIn){}
+ explicit CNetMsgMaker(int nVersionIn) : nVersion(nVersionIn){}
template <typename... Args>
CSerializedNetMsg Make(int nFlags, std::string sCommand, Args&&... args) const