Skip to content

Commit

Permalink
Renaming allocator template variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Sep 21, 2019
1 parent d16f6ab commit 9a29b04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions common/include/pcl/common/impl/io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ pcl::copyPointCloud (const pcl::PointCloud<PointInT> &cloud_in,
}

//////////////////////////////////////////////////////////////////////////////////////////////
template <typename PointT, typename Allocator> void
template <typename PointT, typename IndicesVectorAllocator> void
pcl::copyPointCloud (const pcl::PointCloud<PointT> &cloud_in,
const std::vector<int, Allocator> &indices,
const std::vector<int, IndicesVectorAllocator> &indices,
pcl::PointCloud<PointT> &cloud_out)
{
// Do we want to copy everything?
Expand All @@ -156,9 +156,9 @@ pcl::copyPointCloud (const pcl::PointCloud<PointT> &cloud_in,
}

//////////////////////////////////////////////////////////////////////////////////////////////
template <typename PointInT, typename PointOutT, typename Allocator> void
template <typename PointInT, typename PointOutT, typename IndicesVectorAllocator> void
pcl::copyPointCloud (const pcl::PointCloud<PointInT> &cloud_in,
const std::vector<int, Allocator> &indices,
const std::vector<int, IndicesVectorAllocator> &indices,
pcl::PointCloud<PointOutT> &cloud_out)
{
// Allocate enough space and copy the basics
Expand Down
8 changes: 4 additions & 4 deletions common/include/pcl/common/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ namespace pcl
* \note Assumes unique indices.
* \ingroup common
*/
template <typename PointT, typename Allocator = std::allocator<int>> void
template <typename PointT, typename IndicesVectorAllocator = std::allocator<int>> void
copyPointCloud (const pcl::PointCloud<PointT> &cloud_in,
const std::vector<int, Allocator> &indices,
const std::vector<int, IndicesVectorAllocator> &indices,
pcl::PointCloud<PointT> &cloud_out);

/** \brief Extract the indices of a given point cloud as a new point cloud
Expand Down Expand Up @@ -383,9 +383,9 @@ namespace pcl
* \note Assumes unique indices.
* \ingroup common
*/
template <typename PointInT, typename PointOutT, typename Allocator = std::allocator<int>> void
template <typename PointInT, typename PointOutT, typename IndicesVectorAllocator = std::allocator<int>> void
copyPointCloud (const pcl::PointCloud<PointInT> &cloud_in,
const std::vector<int, Allocator> &indices,
const std::vector<int, IndicestorVecAllocator> &indices,
pcl::PointCloud<PointOutT> &cloud_out);

/** \brief Extract the indices of a given point cloud as a new point cloud
Expand Down

0 comments on commit 9a29b04

Please sign in to comment.