mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue