Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
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
6 changes: 5 additions & 1 deletion rmw_connext_shared_cpp/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,12 @@ create_node(
}
}

// No custom handling of RMW_DEFAULT_DOMAIN_ID. Simply use a reasonable domain id.
participant = dpf_->create_participant(
static_cast<DDS::DomainId_t>(domain_id), participant_qos, NULL,
static_cast<DDS::DomainId_t>(
domain_id != RMW_DEFAULT_DOMAIN_ID ? domain_id : 0u),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: line wrap looks unnecessary.

participant_qos,
NULL,
DDS::STATUS_MASK_NONE);
if (!participant) {
RMW_SET_ERROR_MSG("failed to create participant");
Expand Down