From 230f4a373fbb960522430863c4f97b2e4b3d287f Mon Sep 17 00:00:00 2001 From: kpetridis <petridkon@gmail.com> Date: Sat, 7 May 2022 19:45:41 +0300 Subject: [PATCH] Replaced code with already implemented function --- src/Services/RealTimeForwardingControlService.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Services/RealTimeForwardingControlService.cpp b/src/Services/RealTimeForwardingControlService.cpp index 73ef3a4e..d7ff81d7 100644 --- a/src/Services/RealTimeForwardingControlService.cpp +++ b/src/Services/RealTimeForwardingControlService.cpp @@ -4,10 +4,7 @@ void RealTimeForwardingControlService::addAllReportsOfApplication(uint8_t applicationID) { for (auto& service: AllMessageTypes::messagesOfService) { uint8_t serviceType = service.first; - for (auto message: service.second) { - auto appServicePair = std::make_pair(applicationID, serviceType); - applicationProcessConfiguration.definitions[appServicePair].push_back(message); - } + addAllReportsOfService(applicationID, serviceType); } } -- GitLab