Skip to content

Commit

Permalink
Merge pull request #162 from wolfv/do_not_use_not
Browse files Browse the repository at this point in the history
Do not use "not" as it is not defined in MSVC
  • Loading branch information
jonbinney authored Aug 7, 2024
2 parents 9dbd42e + 2d6a3c2 commit 913a342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/laser_filters/box_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class LaserScanBoxFilter : public filters::FilterBase<sensor_msgs::msg::LaserSca

bool invert = false;
getParam("invert", invert);
remove_box_points_ = not invert;
remove_box_points_ = !invert;

if (!box_frame_set)
{
Expand Down

0 comments on commit 913a342

Please sign in to comment.