Skip to content

Commit

Permalink
Use correct history enums (#244)
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund authored Jul 22, 2024
1 parent ca79e0e commit 91faad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmw_zenoh_cpp/src/detail/qos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ rmw_ret_t QoS::best_available_qos(
static_cast<void>(get_endpoint_info_for_other);

switch (qos_profile->history) {
case RMW_QOS_POLICY_RELIABILITY_SYSTEM_DEFAULT:
case RMW_QOS_POLICY_RELIABILITY_UNKNOWN:
case RMW_QOS_POLICY_HISTORY_SYSTEM_DEFAULT:
case RMW_QOS_POLICY_HISTORY_UNKNOWN:
qos_profile->history = default_qos_.history;
default:
break;
Expand Down

0 comments on commit 91faad7

Please sign in to comment.