From 8952ca016662ad0c7f88e17b4ed45ac5eed66788 Mon Sep 17 00:00:00 2001 From: ssg1002 Date: Thu, 11 Jul 2024 15:35:32 +0200 Subject: [PATCH] Fix include header, follow IWYU --- cpp/kiss_icp/core/Preprocessing.cpp | 2 +- cpp/kiss_icp/core/Preprocessing.hpp | 2 -- cpp/kiss_icp/core/Threshold.cpp | 3 ++- cpp/kiss_icp/core/VoxelHashMap.cpp | 3 +-- cpp/kiss_icp/metrics/Metrics.cpp | 1 + 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/cpp/kiss_icp/core/Preprocessing.cpp b/cpp/kiss_icp/core/Preprocessing.cpp index 0a6a6e30..d9e1d805 100644 --- a/cpp/kiss_icp/core/Preprocessing.cpp +++ b/cpp/kiss_icp/core/Preprocessing.cpp @@ -26,9 +26,9 @@ #include #include +#include #include #include -#include #include namespace { diff --git a/cpp/kiss_icp/core/Preprocessing.hpp b/cpp/kiss_icp/core/Preprocessing.hpp index e919a422..1a8ae1ee 100644 --- a/cpp/kiss_icp/core/Preprocessing.hpp +++ b/cpp/kiss_icp/core/Preprocessing.hpp @@ -23,8 +23,6 @@ #pragma once #include -#include -#include #include namespace kiss_icp { diff --git a/cpp/kiss_icp/core/Threshold.cpp b/cpp/kiss_icp/core/Threshold.cpp index f9cb4131..1c51a511 100644 --- a/cpp/kiss_icp/core/Threshold.cpp +++ b/cpp/kiss_icp/core/Threshold.cpp @@ -22,8 +22,9 @@ // SOFTWARE. #include "Threshold.hpp" -#include +#include #include +#include namespace kiss_icp { AdaptiveThreshold::AdaptiveThreshold(double initial_threshold, diff --git a/cpp/kiss_icp/core/VoxelHashMap.cpp b/cpp/kiss_icp/core/VoxelHashMap.cpp index 65790fba..6b3b061b 100644 --- a/cpp/kiss_icp/core/VoxelHashMap.cpp +++ b/cpp/kiss_icp/core/VoxelHashMap.cpp @@ -24,8 +24,7 @@ #include #include -#include -#include +#include #include namespace kiss_icp { diff --git a/cpp/kiss_icp/metrics/Metrics.cpp b/cpp/kiss_icp/metrics/Metrics.cpp index 26f025bf..78195586 100644 --- a/cpp/kiss_icp/metrics/Metrics.cpp +++ b/cpp/kiss_icp/metrics/Metrics.cpp @@ -23,6 +23,7 @@ #include "Metrics.hpp" #include +#include #include #include #include