From edefb0af5c7291c82dd08cc43832604319687fed Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Fri, 10 May 2019 12:40:10 +0100 Subject: [PATCH] preproc guard opencv to pcl header --- common/cpp/include/ftl/utility/opencv_to_pcl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cpp/include/ftl/utility/opencv_to_pcl.hpp b/common/cpp/include/ftl/utility/opencv_to_pcl.hpp index ce6a8fa1f..f273d5e23 100644 --- a/common/cpp/include/ftl/utility/opencv_to_pcl.hpp +++ b/common/cpp/include/ftl/utility/opencv_to_pcl.hpp @@ -6,7 +6,6 @@ #if defined HAVE_PCL #include <pcl/common/common_headers.h> -#endif // HAVE_PCL namespace ftl { namespace utility { @@ -18,5 +17,6 @@ pcl::PointCloud<pcl::PointXYZRGB>::Ptr matToPointXYZ(const cv::Mat &cvcloud, con }; }; +#endif // HAVE_PCL #endif // _FTL_COMMON_OPENCV_TO_PCL_HPP_ -- GitLab