Skip to content
Snippets Groups Projects
Commit 819d4502 authored by kpetridis's avatar kpetridis
Browse files

Changed var name

parent a89dc6be
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ bool RealTimeForwardingControlService::checkMessage(Message& request, uint8_t ap ...@@ -98,7 +98,7 @@ bool RealTimeForwardingControlService::checkMessage(Message& request, uint8_t ap
bool RealTimeForwardingControlService::reportExistsInAppProcessConfiguration(uint8_t applicationID, uint8_t serviceType, bool RealTimeForwardingControlService::reportExistsInAppProcessConfiguration(uint8_t applicationID, uint8_t serviceType,
uint8_t messageType) { uint8_t messageType) {
auto key = std::make_pair(applicationID, serviceType); auto key = std::make_pair(applicationID, serviceType);
auto& messages = applicationProcessConfiguration.definitions[key]; auto& messages = applicationProcessConfiguration.definitions[key];
return std::find(messages.begin(), messages.end(), messageType) != messages.end(); return std::find(messages.begin(), messages.end(), messageType) != messages.end();
} }
...@@ -138,8 +138,8 @@ void RealTimeForwardingControlService::addReportTypesToAppProcessConfiguration(M ...@@ -138,8 +138,8 @@ void RealTimeForwardingControlService::addReportTypesToAppProcessConfiguration(M
if (not checkMessage(request, applicationID, serviceType, messageType)) { if (not checkMessage(request, applicationID, serviceType, messageType)) {
continue; continue;
} }
auto appServicePair = std::make_pair(applicationID, serviceType); auto key = std::make_pair(applicationID, serviceType);
applicationProcessConfiguration.definitions[appServicePair].push_back( applicationProcessConfiguration.definitions[key].push_back(
messageType); messageType);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment