Skip to content

Commit

Permalink
move [[deprecated]] after template but before inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Ponza committed Apr 16, 2020
1 parent d6dda06 commit ebd843d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ namespace pcl
* data!), used to compute the correspondence distance.
* \param[in] cloud a cloud containing XYZ data
*/
template <typename PointT>
PCL_DEPRECATED(1, 12, "pcl::registration::CorrespondenceRejectorDistance::setInputCloud is deprecated. Please use setInputSource instead")
template <typename PointT> inline void
inline void
setInputCloud (const typename pcl::PointCloud<PointT>::ConstPtr &cloud)
{
if (!data_container_)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ namespace pcl
* data!), used to compute the correspondence distance.
* \param[in] cloud a cloud containing XYZ data
*/
template <typename PointT>
PCL_DEPRECATED(1, 12, "pcl::registration::CorrespondenceRejectorMedianDistance::setInputCloud is deprecated. Please use setInputSource instead")
template <typename PointT> inline void
inline void
setInputCloud (const typename pcl::PointCloud<PointT>::ConstPtr &cloud)
{
if (!data_container_)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ namespace pcl
/** \brief Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
* \param[in] input a cloud containing XYZ data
*/
template <typename PointT>
PCL_DEPRECATED(1, 12, "pcl::registration::CorrespondenceRejectorSurfaceNormal::setInputCloud is deprecated. Please use setInputSource instead")
template <typename PointT> inline void
inline void
setInputCloud (const typename pcl::PointCloud<PointT>::ConstPtr &input)
{
if (!data_container_)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ namespace pcl
* data!), used to compute the correspondence distance.
* \param[in] cloud a cloud containing XYZ data
*/
template <typename PointT>
PCL_DEPRECATED(1, 12, "pcl::registration::CorrespondenceRejectorVarTrimmed::setInputCloud is deprecated. Please use setInputSource instead")
template <typename PointT> inline void
inline void
setInputCloud (const typename pcl::PointCloud<PointT>::ConstPtr &cloud)
{
if (!data_container_)
Expand Down

0 comments on commit ebd843d

Please sign in to comment.