mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -48,7 +48,7 @@ struct GxsTokenQueueItem
|
||||
class GxsTokenQueue
|
||||
{
|
||||
public:
|
||||
GxsTokenQueue(RsGenExchange *gxs) :
|
||||
explicit GxsTokenQueue(RsGenExchange *gxs) :
|
||||
mGenExchange(gxs), mQueueMtx("GxsTokenQueueMtx") {}
|
||||
|
||||
bool queueRequest(uint32_t token, uint32_t req_type);
|
||||
|
Loading…
Reference in New Issue
Block a user