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:
RsGxsForums(RsGxsIface *gxs)
:RsGxsIfaceHelper(gxs) { return; }
virtual ~RsGxsForums() { return; }
explicit RsGxsForums(RsGxsIface *gxs)
:RsGxsIfaceHelper(gxs) {}
virtual ~RsGxsForums() {}
/* Specific Service Data */
virtual bool getGroupData(const uint32_t &token, std::vector<RsGxsForumGroup> &groups) = 0;