Skip to content

Commit

Permalink
Merge pull request ros2#25 from mauropasse/mauro/add-events-executor
Browse files Browse the repository at this point in the history
Use QoS depth on fastrtps_dynamic_cpp
  • Loading branch information
iRobot ROS authored May 25, 2021
2 parents ce4f150 + ea05277 commit a9f496c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_fastrtps_dynamic_cpp/src/subscription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ create_subscription(
/////
// Create Listener
if (create_subscription_listener) {
info->listener_ = new (std::nothrow) SubListener(info);
info->listener_ = new (std::nothrow) SubListener(info, qos_policies->depth);

if (!info->listener_) {
RMW_SET_ERROR_MSG("create_subscription() could not create subscription listener");
Expand Down

0 comments on commit a9f496c

Please sign in to comment.