From f9997162920857a46a782ad1fbf7b876f6ba05bd Mon Sep 17 00:00:00 2001 From: Karsten Knese Date: Mon, 21 Oct 2019 20:46:29 -0700 Subject: [PATCH] use return_loaned_message_from (#290) Signed-off-by: Karsten Knese --- rmw_opensplice_cpp/src/rmw_publisher.cpp | 5 +++-- rmw_opensplice_cpp/src/rmw_take.cpp | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/rmw_opensplice_cpp/src/rmw_publisher.cpp b/rmw_opensplice_cpp/src/rmw_publisher.cpp index 4d6a95d9..e8d59b87 100644 --- a/rmw_opensplice_cpp/src/rmw_publisher.cpp +++ b/rmw_opensplice_cpp/src/rmw_publisher.cpp @@ -394,14 +394,15 @@ rmw_borrow_loaned_message( } rmw_ret_t -rmw_return_loaned_message( +rmw_return_loaned_message_from_publisher( const rmw_publisher_t * publisher, void * loaned_message) { (void) publisher; (void) loaned_message; - RMW_SET_ERROR_MSG("rmw_return_loaned_message not implemented for rmw_opensplice_cpp"); + RMW_SET_ERROR_MSG( + "rmw_return_loaned_message_from_publisher not implemented for rmw_opensplice_cpp"); return RMW_RET_UNSUPPORTED; } diff --git a/rmw_opensplice_cpp/src/rmw_take.cpp b/rmw_opensplice_cpp/src/rmw_take.cpp index 8c49be29..5e59b9cc 100644 --- a/rmw_opensplice_cpp/src/rmw_take.cpp +++ b/rmw_opensplice_cpp/src/rmw_take.cpp @@ -357,14 +357,15 @@ rmw_take_loaned_message_with_info( } rmw_ret_t -rmw_release_loaned_message( +rmw_return_loaned_message_from_subscription( const rmw_subscription_t * subscription, void * loaned_message) { (void) subscription; (void) loaned_message; - RMW_SET_ERROR_MSG("rmw_release_loaned_message not implemented for rmw_opensplice_cpp"); + RMW_SET_ERROR_MSG( + "rmw_release_loaned_message_from_subscription not implemented for rmw_opensplice_cpp"); return RMW_RET_UNSUPPORTED; } } // extern "C"