Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Rufus Wong <rcywongaa@gmail.com>
  • Loading branch information
rcywongaa committed Jul 9, 2024
1 parent 654c30d commit bd2f1ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions topic_tools/src/tool_base_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ void ToolBaseNode::make_subscribe_unsubscribe_decisions()
{
if (auto source_info = try_discover_source()) {
// publisher exists already but needs changing if output_topic_ changes
if (
pub_ &&
pub_->get_topic_name() != get_node_topics_interface()->resolve_topic_name(output_topic_))
if (pub_ &&
pub_->get_topic_name() !=
get_node_topics_interface()->resolve_topic_name(output_topic_))
{
pub_.reset();
}
Expand Down

0 comments on commit bd2f1ab

Please sign in to comment.