mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05: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