We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b77beb commit 8234765Copy full SHA for 8234765
rosbag2_transport/src/rosbag2_transport/recorder.cpp
@@ -280,7 +280,8 @@ void Recorder::warn_if_new_qos_for_subscribed_topic(const std::string & topic_na
280
// Already warned about this topic
281
return;
282
}
283
- const auto & used_profile = existing_subscription->second->get_actual_qos().get_rmw_qos_profile();
+ const auto actual_qos = existing_subscription->second->get_actual_qos();
284
+ const auto & used_profile = actual_qos.get_rmw_qos_profile();
285
auto publishers_info = this->get_publishers_info_by_topic(topic_name);
286
for (const auto & info : publishers_info) {
287
auto new_profile = info.qos_profile().get_rmw_qos_profile();
0 commit comments