Skip to content

Commit b22d6b1

Browse files
committed
Fix bug in geometry/mesh_base.h
1 parent 5274fd0 commit b22d6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

geometry/include/pcl/geometry/mesh_base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,12 +2026,12 @@ class MeshBase {
20262026
/** \brief Resize the mesh data. */
20272027
template <class DataCloudT>
20282028
inline void
2029-
resizeData(DataCloudT& /*data_cloud*/,
2029+
resizeData(DataCloudT& data_cloud,
20302030
const std::size_t n,
20312031
const typename DataCloudT::value_type& data,
20322032
std::true_type /*has_data*/) const
20332033
{
2034-
data.resize(n, data);
2034+
data_cloud.resize(n, data);
20352035
}
20362036

20372037
/** \brief Does nothing. */

0 commit comments

Comments
 (0)