queue factory first param uint32_t again

This commit is contained in:
Robin Müller 2020-06-02 23:54:24 +02:00
parent 6972e72fbf
commit 5036cdbef3
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ public:
*/
static QueueFactory* instance();
MessageQueueIF* createMessageQueue(size_t messageDepth = 3,
MessageQueueIF* createMessageQueue(uint32_t messageDepth = 3,
size_t maxMessageSize = MessageQueueMessage::MAX_MESSAGE_SIZE);
void deleteMessageQueue(MessageQueueIF* queue);

View File

@ -26,7 +26,7 @@ QueueFactory::QueueFactory() {
QueueFactory::~QueueFactory() {
}
MessageQueueIF* QueueFactory::createMessageQueue(size_t messageDepth,
MessageQueueIF* QueueFactory::createMessageQueue(uint32_t messageDepth,
size_t maxMessageSize) {
return new MessageQueue(messageDepth, maxMessageSize);
}

View File

@ -28,7 +28,7 @@ QueueFactory::QueueFactory() {
QueueFactory::~QueueFactory() {
}
MessageQueueIF* QueueFactory::createMessageQueue(size_t messageDepth,
MessageQueueIF* QueueFactory::createMessageQueue(uint32_t messageDepth,
size_t maxMessageSize) {
return new MessageQueue(messageDepth, maxMessageSize);
}