mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Fix CppCheck in rsgxschannels.h
/libretroshare/src/retroshare/rsgxschannels.h:82: warning: Cppcheck(noExplicitConstructor): Class 'RsGxsChannels' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
6219b3199b
commit
dd4ed2a7f1
1 changed files with 3 additions and 3 deletions
|
@ -79,9 +79,9 @@ class RsGxsChannels: public RsGxsIfaceHelper, public RsGxsCommentService
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
RsGxsChannels(RsGxsIface *gxs)
|
explicit RsGxsChannels(RsGxsIface *gxs)
|
||||||
:RsGxsIfaceHelper(gxs) { return; }
|
:RsGxsIfaceHelper(gxs) {}
|
||||||
virtual ~RsGxsChannels() { return; }
|
virtual ~RsGxsChannels() {}
|
||||||
|
|
||||||
/* Specific Service Data */
|
/* Specific Service Data */
|
||||||
virtual bool getGroupData(const uint32_t &token, std::vector<RsGxsChannelGroup> &groups) = 0;
|
virtual bool getGroupData(const uint32_t &token, std::vector<RsGxsChannelGroup> &groups) = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue