Skip to content

Commit

Permalink
Fixes the linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sriram Raghunathan committed May 20, 2019
1 parent 8804882 commit c388d8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rosbag2_transport/src/rosbag2_transport/recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ void Recorder::subscribe_topic(const rosbag2::TopicMetadata & topic)
subscribed_topics_.insert(topic.name);
subscriptions_.push_back(subscription);
ROSBAG2_TRANSPORT_LOG_INFO_STREAM("Subscribed to topic '" << topic.name << "'");
}
else {
} else {
writer_->remove_topic(topic);
subscribed_topics_.erase(topic.name);
}
Expand Down

0 comments on commit c388d8e

Please sign in to comment.