Skip to content

Commit

Permalink
Remove std::forward
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed Sep 21, 2019
1 parent 26ecc79 commit b3af803
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/include/pcl/common/impl/io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ pcl::getFieldIndex (const pcl::PointCloud<PointT> &,
const std::string &field_name,
std::vector<pcl::PCLPointField> &fields)
{
return getFieldIndex<PointT>(std::forward<decltype(field_name)>(field_name),
std::forward<decltype(fields)>(fields));
return getFieldIndex<PointT>(field_name, fields);
}

//////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit b3af803

Please sign in to comment.