Skip to content

Commit

Permalink
Fix comments for pull request ros2#93
Browse files Browse the repository at this point in the history
Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com>
  • Loading branch information
Sriram Raghunathan committed May 15, 2019
1 parent bb3dccb commit c5e38e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rosbag2_transport/src/rosbag2_transport/recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ void Recorder::subscribe_topics(

void Recorder::subscribe_topic(const rosbag2::TopicMetadata & topic)
{
if(writer_) {
writer_->create_topic(topic);
subscribed_topics_.insert(topic.name);
}

auto subscription = create_subscription(topic.name, topic.type);

if (subscription) {
Expand All @@ -126,7 +121,6 @@ void Recorder::subscribe_topic(const rosbag2::TopicMetadata & topic)
writer_->remove_topic(topic);
subscribed_topics_.erase(topic.name);
}

}

std::shared_ptr<GenericSubscription>
Expand Down

0 comments on commit c5e38e0

Please sign in to comment.