update to origin

This commit is contained in:
Robin Müller 2021-07-19 15:04:08 +02:00
parent 4c41cb1f71
commit cbdf92a775
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 2 additions and 3 deletions

View File

@ -39,8 +39,7 @@ private:
QueueMapManager(); QueueMapManager();
~QueueMapManager(); ~QueueMapManager();
// Start at 1 because 0 might be the NO_QUEUE value uint32_t queueCounter = MessageQueueIF::NO_QUEUE + 1;
uint32_t queueCounter = 1;
MutexIF* mapLock; MutexIF* mapLock;
QueueMap queueMap; QueueMap queueMap;
static QueueMapManager* mqManagerInstance; static QueueMapManager* mqManagerInstance;

View File

@ -41,7 +41,7 @@ private:
QueueMapManager(); QueueMapManager();
~QueueMapManager(); ~QueueMapManager();
uint32_t queueCounter = 0; uint32_t queueCounter = MessageQueueIF::NO_QUEUE + 1;
MutexIF* mapLock; MutexIF* mapLock;
QueueMap queueMap; QueueMap queueMap;
static QueueMapManager* mqManagerInstance; static QueueMapManager* mqManagerInstance;