Skip to content

pcl::octree::OctreeIteratorBase copy-constructor not working #489

@SvenAlbrecht

Description

@SvenAlbrecht

Hi,
I believe the current implementation of the copy constructor for pcl::octree::OctreeIteratorBase is not working properly. According to the definition (http://docs.pointclouds.org/trunk/a02319_source.html#l00113) the 'octree_' field is copied, but in the body of the constructor the 'reset ()' method is called (http://docs.pointclouds.org/trunk/a02319_source.html#l00158). So this does not really create a copy of the argument iterator. Assignment via 'operator=' works fine with the expected results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions