Permalink
Browse files

Update lccp_segmentation.h

The output container was passed by copy and not by reference to getSupervoxelToSegmentMap()
  • Loading branch information...
1 parent e66d90e commit d327a6ce73a56247d545821670c4b936ecc9069a @YB27 YB27 committed on GitHub Nov 18, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 segmentation/include/pcl/segmentation/lccp_segmentation.h
@@ -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_)
{

0 comments on commit d327a6c

Please sign in to comment.