Skip to content

Commit

Permalink
Update lccp_segmentation.h
Browse files Browse the repository at this point in the history
The output container was passed by copy and not by reference to getSupervoxelToSegmentMap()
  • Loading branch information
YB27 committed Nov 18, 2016
1 parent e66d90e commit d327a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segmentation/include/pcl/segmentation/lccp_segmentation.h
Expand Up @@ -142,7 +142,7 @@ namespace pcl
/** \brief Get map<Supervoxel_ID, Segment_ID>
* \param[out] supervoxel_segment_map_arg The output container. On error the map is empty. */
inline void
getSupervoxelToSegmentMap (std::map<uint32_t, uint32_t> supervoxel_segment_map_arg) const
getSupervoxelToSegmentMap (std::map<uint32_t, uint32_t>& supervoxel_segment_map_arg) const
{
if (grouping_data_valid_)
{
Expand Down

0 comments on commit d327a6c

Please sign in to comment.