mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Fix CppCheck in gxstokenqueue.h
/libretroshare/src/gxs/gxstokenqueue.h:51: warning: Cppcheck(noExplicitConstructor): Class 'GxsTokenQueue' has a constructor with 1 argument that is not explicit.
This commit is contained in:
parent
f81c6aea03
commit
344bc27ff7
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ struct GxsTokenQueueItem
|
||||||
class GxsTokenQueue
|
class GxsTokenQueue
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GxsTokenQueue(RsGenExchange *gxs) :
|
explicit GxsTokenQueue(RsGenExchange *gxs) :
|
||||||
mGenExchange(gxs), mQueueMtx("GxsTokenQueueMtx") {}
|
mGenExchange(gxs), mQueueMtx("GxsTokenQueueMtx") {}
|
||||||
|
|
||||||
bool queueRequest(uint32_t token, uint32_t req_type);
|
bool queueRequest(uint32_t token, uint32_t req_type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue