From 3702cf259a926b3da1d3fc914f3fdc8d45561a6c Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 21 Jul 2017 17:20:11 +0200 Subject: [PATCH] Fix CppCheck in p3gxstrans.h /libretroshare/src/gxstrans/p3gxstrans.h:296: warning: Cppcheck(noExplicitConstructor): Class 'GxsTransIntegrityCleanupThread' has a constructor with 1 argument that is not explicit. --- libretroshare/src/gxstrans/p3gxstrans.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/gxstrans/p3gxstrans.h b/libretroshare/src/gxstrans/p3gxstrans.h index 47ef1020d..af79679d9 100644 --- a/libretroshare/src/gxstrans/p3gxstrans.h +++ b/libretroshare/src/gxstrans/p3gxstrans.h @@ -293,7 +293,7 @@ private: enum CheckState { CheckStart, CheckChecking }; public: - GxsTransIntegrityCleanupThread(RsGeneralDataService *const dataService): mDs(dataService),mMtx("GxsTransIntegrityCheck") { mDone=false;} + explicit GxsTransIntegrityCleanupThread(RsGeneralDataService *const dataService): mDs(dataService),mMtx("GxsTransIntegrityCheck") { mDone=false;} bool isDone(); void run();