Fix CppChecker in rsidentity.h

/libretroshare/src/retroshare/rsidentity.h:269: warning:
Cppcheck(noExplicitConstructor): Class 'RsIdentity' has a constructor
with 1 argument that is not explicit.
This commit is contained in:
Phenom 2017-07-27 12:53:47 +02:00 committed by csoler
parent fee7d454d9
commit ba75294258

View File

@ -266,8 +266,8 @@ class RsIdentity: public RsGxsIfaceHelper
public:
RsIdentity(RsGxsIface *gxs): RsGxsIfaceHelper(gxs) { return; }
virtual ~RsIdentity() { return; }
explicit RsIdentity(RsGxsIface *gxs): RsGxsIfaceHelper(gxs) {}
virtual ~RsIdentity() {}
/********************************************************************************************/
/********************************************************************************************/