From 3744b54790804cf7526ea4e644e9114db93c2e36 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 12 Apr 2024 12:52:51 -0400 Subject: [PATCH] Cleanup: Fix location of #pragma once in some headers --- source/blender/geometry/GEO_mesh_to_volume.hh | 4 ++-- source/blender/geometry/GEO_point_merge_by_distance.hh | 4 ++-- source/blender/geometry/GEO_points_to_volume.hh | 4 ++-- source/blender/geometry/GEO_uv_pack.hh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/blender/geometry/GEO_mesh_to_volume.hh b/source/blender/geometry/GEO_mesh_to_volume.hh index c87b9eb2e09..7fac24ba4af 100644 --- a/source/blender/geometry/GEO_mesh_to_volume.hh +++ b/source/blender/geometry/GEO_mesh_to_volume.hh @@ -2,6 +2,8 @@ * * SPDX-License-Identifier: GPL-2.0-or-later */ +#pragma once + #include "BLI_bounds.hh" #include "BLI_function_ref.hh" #include "BLI_math_matrix_types.hh" @@ -13,8 +15,6 @@ #include "BKE_volume_grid_fwd.hh" -#pragma once - struct Depsgraph; struct Mesh; struct Volume; diff --git a/source/blender/geometry/GEO_point_merge_by_distance.hh b/source/blender/geometry/GEO_point_merge_by_distance.hh index 8788f788f6b..a0b72481b64 100644 --- a/source/blender/geometry/GEO_point_merge_by_distance.hh +++ b/source/blender/geometry/GEO_point_merge_by_distance.hh @@ -2,10 +2,10 @@ * * SPDX-License-Identifier: GPL-2.0-or-later */ -#include "BLI_index_mask.hh" - #pragma once +#include "BLI_index_mask.hh" + struct PointCloud; namespace blender::bke { class AnonymousAttributePropagationInfo; diff --git a/source/blender/geometry/GEO_points_to_volume.hh b/source/blender/geometry/GEO_points_to_volume.hh index 689dfaeaaea..72615540414 100644 --- a/source/blender/geometry/GEO_points_to_volume.hh +++ b/source/blender/geometry/GEO_points_to_volume.hh @@ -2,12 +2,12 @@ * * SPDX-License-Identifier: GPL-2.0-or-later */ +#pragma once + #include "BLI_string_ref.hh" #include "BKE_volume_grid_fwd.hh" -#pragma once - struct Volume; /** \file diff --git a/source/blender/geometry/GEO_uv_pack.hh b/source/blender/geometry/GEO_uv_pack.hh index bbf815c807f..7ec7bd429ae 100644 --- a/source/blender/geometry/GEO_uv_pack.hh +++ b/source/blender/geometry/GEO_uv_pack.hh @@ -2,6 +2,8 @@ * * SPDX-License-Identifier: GPL-2.0-or-later */ +#pragma once + #include "BLI_heap.h" #include "BLI_math_matrix.hh" #include "BLI_memarena.h" @@ -11,8 +13,6 @@ #include "DNA_space_types.h" #include "DNA_vec_types.h" -#pragma once - /** \file * \ingroup geo */