Skip to content

Commit

Permalink
resize vector to data size
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Richard <richard-v@macnica.co.jp>
  • Loading branch information
VRichardJP committed Jun 5, 2023
1 parent 4f743a5 commit 6858b4e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ void RingOutlierFilterComponent::faster_filter(
output_size += sizeof(PointXYZI);
}
}
output.data.resize(output_size);

// Note that `input->header.frame_id` is data before converted when `transform_info.need_transform
// == true`
Expand Down

0 comments on commit 6858b4e

Please sign in to comment.