From 6cdb9f74bbdd3a7a39c6b2db73224c321d9ea32a Mon Sep 17 00:00:00 2001 From: BillSenior Date: Wed, 22 May 2024 11:46:33 +0200 Subject: [PATCH] GRIDEDIT-1040 Tidied up includes --- .../MeshKernel/CurvilinearGrid/CurvilinearGridSnapping.hpp | 4 ++++ .../MeshKernel/CurvilinearGrid/SnapGridToLandBoundary.hpp | 1 + .../include/MeshKernel/CurvilinearGrid/SnapGridToSpline.hpp | 1 + .../src/CurvilinearGrid/CurvilinearGridSnapping.cpp | 3 +-- .../src/CurvilinearGrid/MeshSmoothingCalculator.cpp | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGridSnapping.hpp b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGridSnapping.hpp index 477a06904..66a9ac88e 100644 --- a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGridSnapping.hpp +++ b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/CurvilinearGridSnapping.hpp @@ -27,6 +27,10 @@ #pragma once +#include +#include +#include + #include #include #include diff --git a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToLandBoundary.hpp b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToLandBoundary.hpp index a44efaa26..4b1fa7cd7 100644 --- a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToLandBoundary.hpp +++ b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToLandBoundary.hpp @@ -28,6 +28,7 @@ #pragma once #include +#include #include "MeshKernel/CurvilinearGrid/CurvilinearGrid.hpp" #include "MeshKernel/CurvilinearGrid/CurvilinearGridSnapping.hpp" diff --git a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToSpline.hpp b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToSpline.hpp index 37ab77d95..60328fc2a 100644 --- a/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToSpline.hpp +++ b/libs/MeshKernel/include/MeshKernel/CurvilinearGrid/SnapGridToSpline.hpp @@ -28,6 +28,7 @@ #pragma once #include +#include #include "MeshKernel/CurvilinearGrid/CurvilinearGrid.hpp" #include "MeshKernel/CurvilinearGrid/CurvilinearGridSnapping.hpp" diff --git a/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGridSnapping.cpp b/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGridSnapping.cpp index 776777e95..026787b17 100644 --- a/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGridSnapping.cpp +++ b/libs/MeshKernel/src/CurvilinearGrid/CurvilinearGridSnapping.cpp @@ -4,8 +4,7 @@ #include "MeshKernel/Exceptions.hpp" #include "MeshKernel/Vector.hpp" -#include -#include +#include meshkernel::CurvilinearGridSnapping::CurvilinearGridSnapping(CurvilinearGrid& grid, const std::vector& points) : m_grid(grid), diff --git a/libs/MeshKernel/src/CurvilinearGrid/MeshSmoothingCalculator.cpp b/libs/MeshKernel/src/CurvilinearGrid/MeshSmoothingCalculator.cpp index 80586d14a..b27e24cb8 100644 --- a/libs/MeshKernel/src/CurvilinearGrid/MeshSmoothingCalculator.cpp +++ b/libs/MeshKernel/src/CurvilinearGrid/MeshSmoothingCalculator.cpp @@ -1,5 +1,6 @@ #include "MeshKernel/CurvilinearGrid/MeshSmoothingCalculator.hpp" +#include #include meshkernel::DirectionalSmoothingCalculator::DirectionalSmoothingCalculator(const CurvilinearGridNodeIndices& lowerLeft,