mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix CppCheck in rsposted.h
/libretroshare/src/retroshare/rsposted.h:81: warning: Cppcheck(noExplicitConstructor): Class 'RsPosted' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
ba75294258
commit
1c862def6a
@ -78,8 +78,8 @@ class RsPosted : public RsGxsIfaceHelper, public RsGxsCommentService
|
|||||||
//static const uint32_t FLAG_MSGTYPE_POST;
|
//static const uint32_t FLAG_MSGTYPE_POST;
|
||||||
//static const uint32_t FLAG_MSGTYPE_MASK;
|
//static const uint32_t FLAG_MSGTYPE_MASK;
|
||||||
|
|
||||||
RsPosted(RsGxsIface* gxs) : RsGxsIfaceHelper(gxs) { return; }
|
explicit RsPosted(RsGxsIface* gxs) : RsGxsIfaceHelper(gxs) {}
|
||||||
virtual ~RsPosted() { return; }
|
virtual ~RsPosted() {}
|
||||||
|
|
||||||
/* Specific Service Data */
|
/* Specific Service Data */
|
||||||
virtual bool getGroupData(const uint32_t &token, std::vector<RsPostedGroup> &groups) = 0;
|
virtual bool getGroupData(const uint32_t &token, std::vector<RsPostedGroup> &groups) = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user