diff --git a/libretroshare/src/retroshare/rsposted.h b/libretroshare/src/retroshare/rsposted.h index 69f9a17a5..586449a47 100644 --- a/libretroshare/src/retroshare/rsposted.h +++ b/libretroshare/src/retroshare/rsposted.h @@ -78,8 +78,8 @@ class RsPosted : public RsGxsIfaceHelper, public RsGxsCommentService //static const uint32_t FLAG_MSGTYPE_POST; //static const uint32_t FLAG_MSGTYPE_MASK; - RsPosted(RsGxsIface* gxs) : RsGxsIfaceHelper(gxs) { return; } -virtual ~RsPosted() { return; } + explicit RsPosted(RsGxsIface* gxs) : RsGxsIfaceHelper(gxs) {} + virtual ~RsPosted() {} /* Specific Service Data */ virtual bool getGroupData(const uint32_t &token, std::vector &groups) = 0;