Skip to content

Commit

Permalink
fix(autoware_pointcloud_preprocessor): fix clang-diagnostic-inconsist…
Browse files Browse the repository at this point in the history
…ent-missing-override (#9445)

Signed-off-by: veqcc <[email protected]>
  • Loading branch information
veqcc authored Nov 27, 2024
1 parent f9159c1 commit 5b5a93c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ namespace autoware::pointcloud_preprocessor
class CropBoxFilterComponent : public autoware::pointcloud_preprocessor::Filter
{
protected:
virtual void filter(
const PointCloud2ConstPtr & input, const IndicesPtr & indices, PointCloud2 & output);
void filter(
const PointCloud2ConstPtr & input, const IndicesPtr & indices, PointCloud2 & output) override;

// TODO(sykwer): Temporary Implementation: Remove this interface when all the filter nodes conform
// to new API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class RingOutlierFilterComponent : public autoware::pointcloud_preprocessor::Fil
using InputPointType = autoware::point_types::PointXYZIRCAEDT;
using OutputPointType = autoware::point_types::PointXYZIRC;

virtual void filter(
const PointCloud2ConstPtr & input, const IndicesPtr & indices, PointCloud2 & output);
void filter(
const PointCloud2ConstPtr & input, const IndicesPtr & indices, PointCloud2 & output) override;

// TODO(sykwer): Temporary Implementation: Remove this interface when all the filter nodes conform
// to new API
Expand Down

0 comments on commit 5b5a93c

Please sign in to comment.