From 718bf787e37eaff1ed0ac3fd09c9222be82d76f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Fri, 16 Feb 2024 20:16:15 +0100 Subject: [PATCH] Fixed MacOS M1 build (#57) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- .../point_cloud_transport/point_cloud_transport.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/point_cloud_transport/include/point_cloud_transport/point_cloud_transport.hpp b/point_cloud_transport/include/point_cloud_transport/point_cloud_transport.hpp index 2e8fc72..d3150ab 100644 --- a/point_cloud_transport/include/point_cloud_transport/point_cloud_transport.hpp +++ b/point_cloud_transport/include/point_cloud_transport/point_cloud_transport.hpp @@ -269,7 +269,7 @@ class PointCloudTransport : public PointCloudTransportLoader return subscribe( base_topic, custom_qos, std::bind( fp, - obj.get(), std::placeholders::_1), VoidPtr(), transport_hints); + obj, std::placeholders::_1), VoidPtr(), transport_hints); } template @@ -282,7 +282,7 @@ class PointCloudTransport : public PointCloudTransportLoader return subscribe( base_topic, queue_size, std::bind( fp, - obj.get(), std::placeholders::_1), VoidPtr(), transport_hints); + obj, std::placeholders::_1), VoidPtr(), transport_hints); } //! Subscribe to a point cloud topic, version for class member function with shared_ptr. @@ -296,7 +296,7 @@ class PointCloudTransport : public PointCloudTransportLoader return subscribe( base_topic, custom_qos, std::bind( fp, - obj.get(), std::placeholders::_1), obj, transport_hints); + obj, std::placeholders::_1), obj, transport_hints); } template @@ -309,7 +309,7 @@ class PointCloudTransport : public PointCloudTransportLoader return subscribe( base_topic, queue_size, std::bind( fp, - obj.get(), std::placeholders::_1), obj, transport_hints); + obj, std::placeholders::_1), obj, transport_hints); } private: