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:
Phenom 2017-07-27 16:56:10 +02:00 committed by csoler
parent a248ee7d41
commit a1fb8f70b9

View File

@ -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;