Skip to content

memset for Eigen::Matrix in integral_image2D.cpp #3368

Open
@kunaltyagi

Description

@kunaltyagi

Lines 159, 190 in file features/include/pcl/features/impl/integral_image2D.hpp:

memset (previous_row, 0, sizeof (ElementType) * (width_ + 1));

memset (so_previous_row, 0, sizeof (SecondOrderType) * (width_ + 1));

memset is being called upon ElementType and SecondOrderType which are template parameter. As such I don't see a way out of the warning, unless we are guaranteed that types have data field if it has no trivial copy-assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions