mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-08 15:06:03 -05: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…
x
Reference in New Issue
Block a user