From 73e1ddc55780fe1ddbefe2c26aff98e982403d70 Mon Sep 17 00:00:00 2001 From: Phenom Date: Wed, 26 Jul 2017 10:29:17 +0200 Subject: [PATCH] Fix CppCheck in pqi_base.h /libretroshare/src/pqi/pqi_base.h:195: warning: Cppcheck(noExplicitConstructor): Class 'PQInterface' has a constructor with 1 argument that is not explicit. --- libretroshare/src/pqi/pqi_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/pqi_base.h b/libretroshare/src/pqi/pqi_base.h index d247d9862..a7d06c644 100644 --- a/libretroshare/src/pqi/pqi_base.h +++ b/libretroshare/src/pqi/pqi_base.h @@ -192,7 +192,7 @@ class NetInterface; class PQInterface: public RateInterface { public: - PQInterface(const RsPeerId &id) :peerId(id) { return; } + explicit PQInterface(const RsPeerId &id) :peerId(id) { return; } virtual ~PQInterface() { return; } /*!