From 8198dbb888856b8c11757586df02aca15f132f90 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 7 Aug 2020 10:10:37 +0200 Subject: Code Style: use "#pragma once" in some newer headers Those were missing from the previous commit, because these headers only exist in the `master` and not in the `blender-v2.90-release` branch. --- source/blender/simulation/intern/particle_mesh_emitter.hh | 5 +---- source/blender/simulation/intern/simulation_solver_influences.hh | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'source/blender/simulation') diff --git a/source/blender/simulation/intern/particle_mesh_emitter.hh b/source/blender/simulation/intern/particle_mesh_emitter.hh index 724d79c1aec..cdcf2a34e16 100644 --- a/source/blender/simulation/intern/particle_mesh_emitter.hh +++ b/source/blender/simulation/intern/particle_mesh_emitter.hh @@ -14,8 +14,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef __SIM_PARTICLE_MESH_EMITTER_HH__ -#define __SIM_PARTICLE_MESH_EMITTER_HH__ +#pragma once #include "simulation_solver_influences.hh" @@ -48,5 +47,3 @@ class ParticleMeshEmitter final : public ParticleEmitter { }; } // namespace blender::sim - -#endif /* __SIM_PARTICLE_MESH_EMITTER_HH__ */ diff --git a/source/blender/simulation/intern/simulation_solver_influences.hh b/source/blender/simulation/intern/simulation_solver_influences.hh index f7b8affd88d..d7914819d36 100644 --- a/source/blender/simulation/intern/simulation_solver_influences.hh +++ b/source/blender/simulation/intern/simulation_solver_influences.hh @@ -14,8 +14,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef __SIM_SIMULATION_SOLVER_INFLUENCES_HH__ -#define __SIM_SIMULATION_SOLVER_INFLUENCES_HH__ +#pragma once #include "BLI_float3.hh" #include "BLI_float4x4.hh" @@ -233,5 +232,3 @@ struct ParticleEventFilterContext { }; } // namespace blender::sim - -#endif /* __SIM_SIMULATION_SOLVER_INFLUENCES_HH__ */ -- cgit v1.2.3