We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5274fd0 commit b22d6b1Copy full SHA for b22d6b1
geometry/include/pcl/geometry/mesh_base.h
@@ -2026,12 +2026,12 @@ class MeshBase {
2026
/** \brief Resize the mesh data. */
2027
template <class DataCloudT>
2028
inline void
2029
- resizeData(DataCloudT& /*data_cloud*/,
+ resizeData(DataCloudT& data_cloud,
2030
const std::size_t n,
2031
const typename DataCloudT::value_type& data,
2032
std::true_type /*has_data*/) const
2033
{
2034
- data.resize(n, data);
+ data_cloud.resize(n, data);
2035
}
2036
2037
/** \brief Does nothing. */
0 commit comments