Skip to content

Commit

Permalink
minor logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Apr 10, 2024
1 parent 6b6cf04 commit 5b8c21b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecal/core/src/ecal_descgate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,10 @@ namespace eCAL
}

// the entry is existing, the requested quality is not higher
// update the existing entry if it has the same attributes (independing from the unique id)
// update the timestamp of the existing entry
if (service_info.info == req_service_info.info)
{
(*service_method_map_.map)[service_method_tuple] = req_service_info;
(*service_method_map_.map)[service_method_tuple] = service_info;
return true;
}

Expand Down

0 comments on commit 5b8c21b

Please sign in to comment.