Skip to content

Commit 8dd2d90

Browse files
committed
Fix incorrect override signature
Signed-off-by: Emerson Knapp <[email protected]>
1 parent 44bb589 commit 8dd2d90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

btcpp_ros2_samples/src/subscriber_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ReceiveString: public RosTopicSubNode<std_msgs::msg::String>
1717
return {};
1818
}
1919

20-
NodeStatus onTick(const std::shared_ptr<std_msgs::msg::String>& last_msg) override
20+
NodeStatus onTick(const std::shared_ptr<std_msgs::msg::String> last_msg) override
2121
{
2222
if(last_msg) // empty if no new message received, since the last tick
2323
{
@@ -60,4 +60,4 @@ int main(int argc, char **argv)
6060
}
6161

6262
return 0;
63-
}
63+
}

0 commit comments

Comments
 (0)