mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -192,7 +192,7 @@ class NetInterface;
|
||||
class PQInterface: public RateInterface
|
||||
{
|
||||
public:
|
||||
PQInterface(const RsPeerId &id) :peerId(id) { return; }
|
||||
explicit PQInterface(const RsPeerId &id) :peerId(id) { return; }
|
||||
virtual ~PQInterface() { return; }
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user