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
This commit is contained in:
Henry Winkel
2022-09-15 11:20:43 +02:00
parent 80dc1ab043
commit a89bc36310

View File

@@ -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<ThreadsafeQueue<Message>>();
}
~CommService();