mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05: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…
x
Reference in New Issue
Block a user