Skip to content
Snippets Groups Projects
Commit ba780cb0 authored by kongr45gpen's avatar kongr45gpen Committed by Konstantinos Petridis
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 90f515fd
No related branches found
No related tags found
No related merge requests found
......@@ -97,10 +97,9 @@ bool RealTimeForwardingControlService::checkMessage(Message& request, uint8_t ap
bool RealTimeForwardingControlService::reportExistsInAppProcessConfiguration(uint8_t applicationID, uint8_t serviceType,
uint8_t messageType) {
auto appServicePair = std::make_pair(applicationID, serviceType);
return std::find(applicationProcessConfiguration.definitions[appServicePair].begin(),
applicationProcessConfiguration.definitions[appServicePair].end(),
messageType) != applicationProcessConfiguration.definitions[appServicePair].end();
auto key = std::make_pair(applicationID, serviceType);
auto& messages = applicationProcessConfiguration.definitions[key];
return std::find(messages.begin(), messages.end(), messageType) != messages.end();
}
void RealTimeForwardingControlService::addReportTypesToAppProcessConfiguration(Message& request) {
......
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