From 78d3e6c65934338eb8993993a1185647221ecdf8 Mon Sep 17 00:00:00 2001 From: Willie Maddox Date: Tue, 30 May 2017 23:28:31 -0500 Subject: [PATCH] fix typo Fix typo in deprecation message --- common/include/pcl/ros/conversions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/include/pcl/ros/conversions.h b/common/include/pcl/ros/conversions.h index 41d47f931d9..450e084fcc2 100644 --- a/common/include/pcl/ros/conversions.h +++ b/common/include/pcl/ros/conversions.h @@ -88,7 +88,7 @@ namespace pcl * \param[out] msg the resultant PCLPointCloud2 binary blob */ template - PCL_DEPRECATED ("pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.") + PCL_DEPRECATED ("pcl::toROSMsg is deprecated, please use toPCLPointCloud2 instead.") void toROSMsg (const pcl::PointCloud& cloud, pcl::PCLPointCloud2& msg) { @@ -102,7 +102,7 @@ namespace pcl * \note will throw std::runtime_error if there is a problem */ template - PCL_DEPRECATED ("pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.") + PCL_DEPRECATED ("pcl::toROSMsg is deprecated, please use toPCLPointCloud2 instead.") void toROSMsg (const CloudT& cloud, pcl::PCLImage& msg) { @@ -115,7 +115,7 @@ namespace pcl * will throw std::runtime_error if there is a problem */ inline void - PCL_DEPRECATED ("pcl::fromROSMsg is deprecated, please use fromPCLPointCloud2 instead.") + PCL_DEPRECATED ("pcl::toROSMsg is deprecated, please use toPCLPointCloud2 instead.") toROSMsg (const pcl::PCLPointCloud2& cloud, pcl::PCLImage& msg) { toPCLPointCloud2 (cloud, msg);