diff --git a/rmw_zenoh_cpp/src/detail/rmw_publisher_data.hpp b/rmw_zenoh_cpp/src/detail/rmw_publisher_data.hpp index 29db7d63..eca222b7 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_publisher_data.hpp +++ b/rmw_zenoh_cpp/src/detail/rmw_publisher_data.hpp @@ -52,7 +52,7 @@ class PublisherData final rmw_ret_t publish( const void * ros_message #ifdef RMW_ZENOH_BUILD_WITH_SHARED_MEMORY - , std::optional & shm + , std::optional & shm #endif ); @@ -60,7 +60,7 @@ class PublisherData final rmw_ret_t publish_serialized_message( const rmw_serialized_message_t * serialized_message #ifdef RMW_ZENOH_BUILD_WITH_SHARED_MEMORY - , std::optional & shm + , std::optional & shm #endif ); diff --git a/rmw_zenoh_cpp/src/detail/rmw_subscription_data.hpp b/rmw_zenoh_cpp/src/detail/rmw_subscription_data.hpp index 5abca54c..4f864994 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_subscription_data.hpp +++ b/rmw_zenoh_cpp/src/detail/rmw_subscription_data.hpp @@ -77,7 +77,7 @@ class SubscriptionData final : public std::enable_shared_from_this & shm + , std::optional & shm #endif );