Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero committed Jun 5, 2024
1 parent b13fe18 commit b800e82
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ros_gz_bridge/src/factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ class Factory : public FactoryInterface
size_t /*queue_size*/,
rclcpp::PublisherBase::SharedPtr ros_pub)
{
std::function<void(const GZ_T &,
const gz::transport::MessageInfo &)> subCb =
[this, ros_pub](const GZ_T & _msg, const gz::transport::MessageInfo & _info)
std::function<void(const GZ_T &)> subCb =
[this, ros_pub](const GZ_T & _msg)
{
this->gz_callback(_msg, ros_pub);
};
Expand Down

0 comments on commit b800e82

Please sign in to comment.