From 7278f67073cfbcb07bc62f95c4a92b05f54abd21 Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 28 Jul 2017 19:16:32 +0200 Subject: [PATCH] Fix CppCheck in p3bwctrl.h /libretroshare/src/services/p3bwctrl.h:77: warning: Cppcheck(noExplicitConstructor): Class 'p3BandwidthControl' has a constructor with 1 argument that is not explicit. --- libretroshare/src/services/p3bwctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/services/p3bwctrl.h b/libretroshare/src/services/p3bwctrl.h index 9e80bb188..67e6f97fd 100644 --- a/libretroshare/src/services/p3bwctrl.h +++ b/libretroshare/src/services/p3bwctrl.h @@ -74,7 +74,7 @@ class BwCtrlData class p3BandwidthControl: public p3Service, public pqiServiceMonitor { public: - p3BandwidthControl(pqipersongrp *pg); + explicit p3BandwidthControl(pqipersongrp *pg); virtual RsServiceInfo getServiceInfo(); /***** overloaded from RsBanList *****/