Skip to content

Commit

Permalink
Fix uncrustify warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Rufus Wong <rcywongaa@gmail.com>
  • Loading branch information
rcywongaa committed Jun 12, 2024
1 parent f0cb259 commit 31f49ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions topic_tools/src/demux_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void DemuxNode::on_demux_delete(
auto it = std::find_if(
output_topics_.begin(), output_topics_.end(), [this, &request](const std::string & topic) {
return get_node_topics_interface()->resolve_topic_name(topic) ==
get_node_topics_interface()->resolve_topic_name(request->topic);
get_node_topics_interface()->resolve_topic_name(request->topic);
});
if (it != output_topics_.end()) {
if (
Expand Down Expand Up @@ -152,7 +152,7 @@ void DemuxNode::on_demux_select(
std::find_if(
output_topics_.begin(), output_topics_.end(), [this](const std::string & topic) {
return get_node_topics_interface()->resolve_topic_name(topic) ==
get_node_topics_interface()->resolve_topic_name(output_topic_);
get_node_topics_interface()->resolve_topic_name(output_topic_);
});
if (it != output_topics_.end()) {
response->prev_topic = output_topic_;
Expand All @@ -169,7 +169,7 @@ void DemuxNode::on_demux_select(
it = std::find_if(
output_topics_.begin(), output_topics_.end(), [this, &request](const std::string & topic) {
return get_node_topics_interface()->resolve_topic_name(topic) ==
get_node_topics_interface()->resolve_topic_name(request->topic);
get_node_topics_interface()->resolve_topic_name(request->topic);
});
if (it != output_topics_.end()) {
output_topic_ = request->topic;
Expand Down

0 comments on commit 31f49ae

Please sign in to comment.