Skip to content

Commit

Permalink
leg_detector: compareSample operator should be const
Browse files Browse the repository at this point in the history
  • Loading branch information
LeroyR committed Sep 13, 2023
1 parent 5bfc9ea commit a14a2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leg_detector/include/leg_detector/laser_processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct CompareSample
{
CompareSample() {}

inline bool operator()(const Sample* a, const Sample* b)
inline bool operator()(const Sample* a, const Sample* b) const
{
return (a->index < b->index);
}
Expand Down

0 comments on commit a14a2da

Please sign in to comment.