mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
fee7d454d9
commit
ba75294258
@ -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() {}
|
||||
|
||||
/********************************************************************************************/
|
||||
/********************************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user