From a89bc36310cdaf65e7ebb359cab9728dacfe90e9 Mon Sep 17 00:00:00 2001 From: Henry Winkel Date: Thu, 15 Sep 2022 11:20:43 +0200 Subject: [PATCH] Squashed 'libs/CommService/' changes from e3612a5..2b80c74 2b80c74 FIX: fixed bug of initialisation of the receiving message queue git-subtree-dir: libs/CommService git-subtree-split: 2b80c74ad0b2b576802055610044f9cfd13c59f2 --- include/CommService/CommService.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/CommService/CommService.hpp b/include/CommService/CommService.hpp index cd9fbc1..e1a946f 100644 --- a/include/CommService/CommService.hpp +++ b/include/CommService/CommService.hpp @@ -83,7 +83,10 @@ namespace CommService { public: CommService(std::string dst,std::string src, std::uint16_t id, deviceMajorType majorType, std::string minorType, unsigned short dstPort ): - dstIp(dst),srcIp(src),majorType_(majorType),minorType_(minorType),broadcastPort(dstPort),stopReceiveThread(false),deviceID_(id){} + dstIp(dst),srcIp(src),majorType_(majorType),minorType_(minorType),broadcastPort(dstPort),stopReceiveThread(false),deviceID_(id){ + + ReceivingMessageQueue = std::make_shared>(); + } ~CommService();