Skip to content

Commit 11c8552

Browse files
author
Jianzhu Huai
committed
fix undefined reference to void backend::addLabelToPointCloud<resources::VoxbloxColorPointCloud>(unsigned int,
1 parent 5d81bc7 commit 11c8552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/map-resources/include/map-resources/resource-conversion-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void addScalarToPointCloud(
9595

9696
template <typename PointCloudType>
9797
void addLabelToPointCloud(
98-
const float scalar, const size_t index, PointCloudType* point_cloud) {
98+
const uint32_t scalar, const size_t index, PointCloudType* point_cloud) {
9999
LOG(FATAL) << "This point cloud either does not support labels"
100100
<< "or it is not implemented!";
101101
}

0 commit comments

Comments
 (0)