mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 16:39:43 -05:00
Fix CppCheck in p3gxstransitems.h
/libretroshare/src/gxstrans/p3gxstransitems.h:42: warning: Cppcheck(noExplicitConstructor): Class 'RsGxsTransBaseMsgItem' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
3702cf259a
commit
242cc9d199
@ -39,7 +39,7 @@ public:
|
||||
class RsGxsTransBaseMsgItem : public RsGxsMsgItem
|
||||
{
|
||||
public:
|
||||
RsGxsTransBaseMsgItem(GxsTransItemsSubtypes subtype) :
|
||||
explicit RsGxsTransBaseMsgItem(GxsTransItemsSubtypes subtype) :
|
||||
RsGxsMsgItem( RS_SERVICE_TYPE_GXS_TRANS,
|
||||
static_cast<uint8_t>(subtype) ), mailId(0) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user