Fix CppCheck in rsgxsforums.h

/libretroshare/src/retroshare/rsgxsforums.h:66: warning:
Cppcheck(noExplicitConstructor): Class 'RsGxsForums' has a constructor
with 1 argument that is not explicit.
This commit is contained in:
Phenom 2017-07-26 11:43:11 +02:00 committed by csoler
parent 10c46ee35c
commit fee7d454d9

View File

@ -63,9 +63,9 @@ class RsGxsForums: public RsGxsIfaceHelper
{ {
public: public:
RsGxsForums(RsGxsIface *gxs) explicit RsGxsForums(RsGxsIface *gxs)
:RsGxsIfaceHelper(gxs) { return; } :RsGxsIfaceHelper(gxs) {}
virtual ~RsGxsForums() { return; } virtual ~RsGxsForums() {}
/* Specific Service Data */ /* Specific Service Data */
virtual bool getGroupData(const uint32_t &token, std::vector<RsGxsForumGroup> &groups) = 0; virtual bool getGroupData(const uint32_t &token, std::vector<RsGxsForumGroup> &groups) = 0;