From bd5603590a00814a36edf25cf6bef2ce967dd852 Mon Sep 17 00:00:00 2001 From: Phenom Date: Fri, 21 Jul 2017 18:42:42 +0200 Subject: [PATCH] Fix CppCheck in p3cfgmgr.h /libretroshare/src/pqi/p3cfgmgr.h:154: warning: Cppcheck(noExplicitConstructor): Class 'p3ConfigMgr' has a constructor with 1 argument that is not explicit. --- libretroshare/src/pqi/p3cfgmgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/p3cfgmgr.h b/libretroshare/src/pqi/p3cfgmgr.h index 27986f04a..43e19b66e 100644 --- a/libretroshare/src/pqi/p3cfgmgr.h +++ b/libretroshare/src/pqi/p3cfgmgr.h @@ -151,7 +151,7 @@ class p3ConfigMgr /** * @param bdir base directory: where config files will be saved */ - p3ConfigMgr(std::string bdir); + explicit p3ConfigMgr(std::string bdir); /** * checks and update all added configurations