Skip to content

Commit

Permalink
Silence deprecated-declarations warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wxmerkt committed Jan 17, 2021
1 parent 09b8098 commit d8858a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions octomap_server/include/octomap_server/OctomapServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@
#include <pcl/conversions.h>
#include <pcl_ros/transforms.h>
#include <pcl/sample_consensus/method_types.h>

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // pcl::SAC_SAMPLE_SIZE is protected since PCL 1.8.0
#include <pcl/sample_consensus/model_types.h>
#pragma GCC diagnostic pop

#include <pcl/segmentation/sac_segmentation.h>
#include <pcl/io/pcd_io.h>
#include <pcl/filters/extract_indices.h>
Expand Down

0 comments on commit d8858a6

Please sign in to comment.