mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Fix CppCheck in pqi_base.h
/libretroshare/src/pqi/pqi_base.h:195: warning: Cppcheck(noExplicitConstructor): Class 'PQInterface' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
50a9d8a1e3
commit
73e1ddc557
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ class NetInterface;
|
||||||
class PQInterface: public RateInterface
|
class PQInterface: public RateInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PQInterface(const RsPeerId &id) :peerId(id) { return; }
|
explicit PQInterface(const RsPeerId &id) :peerId(id) { return; }
|
||||||
virtual ~PQInterface() { return; }
|
virtual ~PQInterface() { return; }
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue