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