Skip to content

Commit

Permalink
Fixed MacOS M1 build (#57)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Feb 19, 2024
1 parent 1f8d8d1 commit 718bf78
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<class T>
Expand All @@ -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.
Expand All @@ -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<class T>
Expand All @@ -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:
Expand Down

0 comments on commit 718bf78

Please sign in to comment.