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:
Phenom 2017-07-21 15:55:40 +02:00 committed by csoler
parent f81c6aea03
commit 344bc27ff7

View File

@ -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);