Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions rmw_cyclonedds_cpp/src/rmw_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,9 @@ static void handle_DCPSPublication(dds_entity_t reader, void * arg)

static void discovery_thread(rmw_context_impl_t * impl)
{
auto sub = static_cast<CddsSubscription const * const>(impl->common.sub->data);
auto gc = static_cast<CddsGuardCondition const * const>(impl->common.listener_thread_gc->data);
const CddsSubscription * sub = static_cast<const CddsSubscription *>(impl->common.sub->data);
const CddsGuardCondition * gc =
static_cast<const CddsGuardCondition *>(impl->common.listener_thread_gc->data);
dds_entity_t ws;
/* deleting ppant will delete waitset as well, so there is no real need to delete
the waitset here on error, but it is more hygienic */
Expand Down