diff --git a/rosbag2_transport/src/rosbag2_transport/topic_filter.cpp b/rosbag2_transport/src/rosbag2_transport/topic_filter.cpp index 80d19c9a3..1f184b223 100644 --- a/rosbag2_transport/src/rosbag2_transport/topic_filter.cpp +++ b/rosbag2_transport/src/rosbag2_transport/topic_filter.cpp @@ -170,8 +170,7 @@ bool TopicFilter::take_topic( } } - if (topic_type_in_list(topic_type, record_options_.exclude_topic_types)) - { + if (topic_type_in_list(topic_type, record_options_.exclude_topic_types)) { return false; }