Skip to content

Commit

Permalink
Do not use "not" as it is not defined in MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Jun 24, 2022
1 parent 8491426 commit 2d6a3c2
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 2d6a3c2

Please sign in to comment.