From c9ec72a7adb53fc5fb4e21122b4eecb4088c7dd1 Mon Sep 17 00:00:00 2001
From: Remy Prechelt <prechelt@hawaii.edu>
Date: Sun, 12 Jul 2020 22:41:54 -1000
Subject: [PATCH] Change include guards to #pragma once.

---
 COAST/COASTProcess.h                                  | 5 +----
 COAST/COASTStack.h                                    | 5 +----
 COAST/ParticleConversion.h                            | 5 +----
 Environment/BaseExponential.h                         | 4 +---
 Environment/DensityFunction.h                         | 5 +----
 Environment/Environment.h                             | 5 +----
 Environment/FlatExponential.h                         | 4 +---
 Environment/HomogeneousMedium.h                       | 4 +---
 Environment/IMediumModel.h                            | 5 +----
 Environment/InhomogeneousMedium.h                     | 4 +---
 Environment/LinearApproximationIntegrator.h           | 5 +----
 Environment/NameModel.h                               | 5 +----
 Environment/NuclearComposition.h                      | 5 +----
 Environment/SlidingPlanarExponential.h                | 4 +---
 Environment/VolumeTreeNode.h                          | 5 +----
 Framework/Cascade/Cascade.h                           | 5 +----
 Framework/Cascade/testCascade.h                       | 5 +----
 Framework/Geometry/BaseTrajectory.h                   | 5 +----
 Framework/Geometry/BaseVector.h                       | 5 +----
 Framework/Geometry/CoordinateSystem.h                 | 5 +----
 Framework/Geometry/FourVector.h                       | 5 +----
 Framework/Geometry/Helix.h                            | 5 +----
 Framework/Geometry/Line.h                             | 5 +----
 Framework/Geometry/Plane.h                            | 5 +----
 Framework/Geometry/Point.h                            | 5 +----
 Framework/Geometry/QuantityVector.h                   | 5 +----
 Framework/Geometry/RootCoordinateSystem.h             | 5 +----
 Framework/Geometry/Sphere.h                           | 5 +----
 Framework/Geometry/Trajectory.h                       | 5 +----
 Framework/Geometry/Vector.h                           | 5 +----
 Framework/Geometry/Volume.h                           | 5 +----
 Framework/Logging/BufferedSink.h                      | 5 +----
 Framework/Logging/Logger.h                            | 5 +----
 Framework/Logging/MessageOff.h                        | 5 +----
 Framework/Logging/MessageOn.h                         | 5 +----
 Framework/Logging/NoSink.h                            | 5 +----
 Framework/Logging/Sink.h                              | 5 +----
 Framework/Particles/ParticleProperties.h              | 5 +----
 Framework/ProcessSequence/BaseProcess.h               | 5 +----
 Framework/ProcessSequence/BoundaryCrossingProcess.h   | 5 +----
 Framework/ProcessSequence/ContinuousProcess.h         | 5 +----
 Framework/ProcessSequence/DecayProcess.h              | 5 +----
 Framework/ProcessSequence/InteractionProcess.h        | 5 +----
 Framework/ProcessSequence/ProcessReturn.h             | 5 +----
 Framework/ProcessSequence/ProcessSequence.h           | 5 +----
 Framework/ProcessSequence/ProcessSignature.h          | 5 +----
 Framework/ProcessSequence/SecondariesProcess.h        | 5 +----
 Framework/ProcessSequence/StackProcess.h              | 5 +----
 Framework/Random/ExponentialDistribution.h            | 5 +----
 Framework/Random/RNGManager.h                         | 4 +---
 Framework/Random/UniformRealDistribution.h            | 5 +----
 Framework/StackInterface/CombinedStack.h              | 5 +----
 Framework/StackInterface/ParticleBase.h               | 5 +----
 Framework/StackInterface/SecondaryView.h              | 5 +----
 Framework/StackInterface/Stack.h                      | 5 +----
 Framework/StackInterface/StackIteratorInterface.h     | 5 +----
 Framework/StackInterface/testTestStack.h              | 5 +----
 Framework/Units/PhysicalConstants.h                   | 5 +----
 Framework/Units/PhysicalUnits.h                       | 5 +----
 Framework/Utilities/Bit.h                             | 5 +----
 Framework/Utilities/COMBoost.h                        | 5 +----
 Framework/Utilities/CorsikaFenv.h                     | 5 +----
 Framework/Utilities/MetaProgramming.h                 | 5 +----
 Framework/Utilities/Singleton.h                       | 5 +----
 Framework/Utilities/sgn.h                             | 5 +----
 Processes/EnergyLoss/EnergyLoss.h                     | 5 +----
 Processes/HadronicElasticModel/HadronicElasticModel.h | 5 +----
 Processes/InteractionCounter/InteractionCounter.h     | 5 +----
 Processes/LongitudinalProfile/LongitudinalProfile.h   | 5 +----
 Processes/NullModel/NullModel.h                       | 5 +----
 Processes/ObservationPlane/ObservationPlane.h         | 5 +----
 Processes/ParticleCut/ParticleCut.h                   | 5 +----
 Processes/Pythia/Decay.h                              | 5 +----
 Processes/Pythia/Interaction.h                        | 5 +----
 Processes/Pythia/Random.h                             | 5 +----
 Processes/QGSJetII/Interaction.h                      | 5 +----
 Processes/QGSJetII/ParticleConversion.h               | 5 +----
 Processes/QGSJetII/QGSJetIIFragmentsStack.h           | 5 +----
 Processes/QGSJetII/QGSJetIIStack.h                    | 5 +----
 Processes/QGSJetII/qgsjet-II-04.h                     | 5 +----
 Processes/Sibyll/Decay.h                              | 5 +----
 Processes/Sibyll/Interaction.h                        | 5 +----
 Processes/Sibyll/NuclearInteraction.h                 | 5 +----
 Processes/Sibyll/ParticleConversion.h                 | 5 +----
 Processes/Sibyll/SibStack.h                           | 5 +----
 Processes/Sibyll/nuclib.h                             | 4 +---
 Processes/Sibyll/sibyll2.3d.h                         | 4 +---
 Processes/StackInspector/StackInspector.h             | 5 +----
 Processes/SwitchProcess/SwitchProcess.h               | 5 +----
 Processes/TrackWriter/TrackWriter.h                   | 5 +----
 Processes/TrackingLine/TrackingLine.h                 | 5 +----
 Processes/TrackingLine/testTrackingLineStack.h        | 5 +----
 Processes/UrQMD/UrQMD.h                               | 5 +----
 Setup/SetupEnvironment.h                              | 5 +----
 Setup/SetupLogger.h                                   | 5 +----
 Setup/SetupStack.h                                    | 5 +----
 Setup/SetupTrajectory.h                               | 5 +----
 Stack/DummyStack/DummyStack.h                         | 5 +----
 Stack/NuclearStackExtension/NuclearStackExtension.h   | 5 +----
 Stack/SuperStupidStack/SuperStupidStack.h             | 5 +----
 100 files changed, 100 insertions(+), 392 deletions(-)

diff --git a/COAST/COASTProcess.h b/COAST/COASTProcess.h
index 0d1895e6e..5e61b7372 100644
--- a/COAST/COASTProcess.h
+++ b/COAST/COASTProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_coast_coastprocess_h_
-#define _include_corsika_coast_coastprocess_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/ContinuousProcess.h>
@@ -42,5 +41,3 @@ namespace corsika::coast {
   };
 
 } // namespace corsika::coast
-
-#endif
diff --git a/COAST/COASTStack.h b/COAST/COASTStack.h
index d1000a937..b3d6aad54 100644
--- a/COAST/COASTStack.h
+++ b/COAST/COASTStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_coaststack_h_
-#define _include_coaststack_h_
+#pragma once
 
 #include <corsika/coast/ParticleConversion.h>
 #include <corsika/particles/ParticleProperties.h>
@@ -188,5 +187,3 @@ namespace corsika::coast {
   typedef corsika::stack::Stack<COASTStackImpl, ParticleInterface> COASTStack;
 
 } // namespace corsika::coast
-
-#endif
diff --git a/COAST/ParticleConversion.h b/COAST/ParticleConversion.h
index f6f65e497..65155d80b 100644
--- a/COAST/ParticleConversion.h
+++ b/COAST/ParticleConversion.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_processes_sibyll_particles_h_
-#define _include_processes_sibyll_particles_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 
@@ -210,5 +209,3 @@ namespace corsika::coast {
   corsika::particles::Code ConvertFromCoast(CoastCode pCode);
 
 } // namespace corsika::coast
-
-#endif
diff --git a/Environment/BaseExponential.h b/Environment/BaseExponential.h
index 331a09c33..112b62426 100644
--- a/Environment/BaseExponential.h
+++ b/Environment/BaseExponential.h
@@ -9,8 +9,7 @@
  * the license.
  */
 
-#ifndef _include_Environment_BaseExponential_h_
-#define _include_Environment_BaseExponential_h_
+#pragma once
 
 #include <corsika/geometry/Line.h>
 #include <corsika/geometry/Point.h>
@@ -114,4 +113,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-#endif
diff --git a/Environment/DensityFunction.h b/Environment/DensityFunction.h
index 992f1b854..810a30495 100644
--- a/Environment/DensityFunction.h
+++ b/Environment/DensityFunction.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_environment_DensityFunction_h_
-#define _include_environment_DensityFunction_h_
+#pragma once
 
 #include <corsika/environment/LinearApproximationIntegrator.h>
 #include <corsika/geometry/Line.h>
@@ -36,5 +35,3 @@ namespace corsika::environment {
     }
   };
 } // namespace corsika::environment
-
-#endif
diff --git a/Environment/Environment.h b/Environment/Environment.h
index 4c731ed48..f0505dfa8 100644
--- a/Environment/Environment.h
+++ b/Environment/Environment.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_environment_Environment_h
-#define _include_environment_Environment_h
+#pragma once
 
 #include <corsika/environment/IMediumModel.h>
 #include <corsika/environment/VolumeTreeNode.h>
@@ -68,5 +67,3 @@ namespace corsika::environment {
   // using SetupEnvironment = Environment<corsika::setup::IEnvironmentModel>;
 
 } // namespace corsika::environment
-
-#endif
diff --git a/Environment/FlatExponential.h b/Environment/FlatExponential.h
index 84a613a57..2bc9c8880 100644
--- a/Environment/FlatExponential.h
+++ b/Environment/FlatExponential.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_Environment_FlatExponential_h_
-#define _include_Environment_FlatExponential_h_
+#pragma once
 
 #include <corsika/environment/BaseExponential.h>
 #include <corsika/environment/NuclearComposition.h>
@@ -67,4 +66,3 @@ namespace corsika::environment {
     }
   };
 } // namespace corsika::environment
-#endif
diff --git a/Environment/HomogeneousMedium.h b/Environment/HomogeneousMedium.h
index 264482878..e2dbf53d2 100644
--- a/Environment/HomogeneousMedium.h
+++ b/Environment/HomogeneousMedium.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_HomogeneousMedium_h_
-#define _include_HomogeneousMedium_h_
+#pragma once
 
 #include <corsika/environment/NuclearComposition.h>
 #include <corsika/geometry/Line.h>
@@ -59,4 +58,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-#endif
diff --git a/Environment/IMediumModel.h b/Environment/IMediumModel.h
index b8cda38c3..0ed276f5c 100644
--- a/Environment/IMediumModel.h
+++ b/Environment/IMediumModel.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_IMediumModel_h
-#define _include_IMediumModel_h
+#pragma once
 
 #include <corsika/environment/NuclearComposition.h>
 #include <corsika/geometry/Line.h>
@@ -40,5 +39,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-
-#endif
diff --git a/Environment/InhomogeneousMedium.h b/Environment/InhomogeneousMedium.h
index 6c61c7849..c92c90b9d 100644
--- a/Environment/InhomogeneousMedium.h
+++ b/Environment/InhomogeneousMedium.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_environment_InhomogeneousMedium_h_
-#define _include_environment_InhomogeneousMedium_h_
+#pragma once
 
 #include <corsika/environment/NuclearComposition.h>
 #include <corsika/geometry/Line.h>
@@ -57,4 +56,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-#endif
diff --git a/Environment/LinearApproximationIntegrator.h b/Environment/LinearApproximationIntegrator.h
index ba84ac287..19c39de24 100644
--- a/Environment/LinearApproximationIntegrator.h
+++ b/Environment/LinearApproximationIntegrator.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_environment_LinearApproximationIntegrator_h_
-#define _include_environment_LinearApproximationIntegrator_h_
+#pragma once
 
 #include <limits>
 
@@ -53,5 +52,3 @@ namespace corsika::environment {
     }
   };
 } // namespace corsika::environment
-
-#endif
diff --git a/Environment/NameModel.h b/Environment/NameModel.h
index 458c07819..d3fa608fe 100644
--- a/Environment/NameModel.h
+++ b/Environment/NameModel.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_NameModel_h
-#define _include_NameModel_h
+#pragma once
 
 #include <string>
 #include <utility>
@@ -23,5 +22,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-
-#endif
diff --git a/Environment/NuclearComposition.h b/Environment/NuclearComposition.h
index 4c2a4f670..e62ccb2cf 100644
--- a/Environment/NuclearComposition.h
+++ b/Environment/NuclearComposition.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_NuclearComposition_h
-#define _include_NuclearComposition_h
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/units/PhysicalUnits.h>
@@ -131,5 +130,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-
-#endif
diff --git a/Environment/SlidingPlanarExponential.h b/Environment/SlidingPlanarExponential.h
index fdbde0f4e..6217b5510 100644
--- a/Environment/SlidingPlanarExponential.h
+++ b/Environment/SlidingPlanarExponential.h
@@ -9,8 +9,7 @@
  * the license.
  */
 
-#ifndef _include_Environment_SlidingPlanarExponential_h_
-#define _include_Environment_SlidingPlanarExponential_h_
+#pragma once
 
 #include <corsika/environment/FlatExponential.h>
 #include <corsika/environment/NuclearComposition.h>
@@ -74,4 +73,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-#endif
diff --git a/Environment/VolumeTreeNode.h b/Environment/VolumeTreeNode.h
index d99675862..2eceee06c 100644
--- a/Environment/VolumeTreeNode.h
+++ b/Environment/VolumeTreeNode.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_VolumeTreeNode_H
-#define _include_VolumeTreeNode_H
+#pragma once
 
 #include <corsika/environment/IMediumModel.h>
 #include <corsika/geometry/Volume.h>
@@ -135,5 +134,3 @@ namespace corsika::environment {
   };
 
 } // namespace corsika::environment
-
-#endif
diff --git a/Framework/Cascade/Cascade.h b/Framework/Cascade/Cascade.h
index e7d2cafb3..18cf1cbba 100644
--- a/Framework/Cascade/Cascade.h
+++ b/Framework/Cascade/Cascade.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_cascade_Cascade_h_
-#define _include_corsika_cascade_Cascade_h_
+#pragma once
 
 #include <corsika/environment/Environment.h>
 #include <corsika/process/ProcessReturn.h>
@@ -332,5 +331,3 @@ namespace corsika::cascade {
   }; // namespace corsika::cascade
 
 } // namespace corsika::cascade
-
-#endif
diff --git a/Framework/Cascade/testCascade.h b/Framework/Cascade/testCascade.h
index ac7a290f1..1d380aee3 100644
--- a/Framework/Cascade/testCascade.h
+++ b/Framework/Cascade/testCascade.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Framework_Cascade_testCascade_h
-#define _Framework_Cascade_testCascade_h
+#pragma once
 
 #include <corsika/environment/Environment.h>
 #include <corsika/setup/SetupStack.h>
@@ -40,5 +39,3 @@ using TestCascadeStackView =
 #elif defined(__GNUC__) || defined(__GNUG__)
 using TestCascadeStackView = corsika::stack::MakeView<TestCascadeStack>::type;
 #endif
-
-#endif
diff --git a/Framework/Geometry/BaseTrajectory.h b/Framework/Geometry/BaseTrajectory.h
index 3654db64d..42dd55339 100644
--- a/Framework/Geometry/BaseTrajectory.h
+++ b/Framework/Geometry/BaseTrajectory.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_BASETRAJECTORY_H
-#define _include_BASETRAJECTORY_H
+#pragma once
 
 #include <corsika/geometry/Point.h>
 #include <corsika/geometry/Vector.h>
@@ -60,5 +59,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/BaseVector.h b/Framework/Geometry/BaseVector.h
index e8c9857eb..e2de575ea 100644
--- a/Framework/Geometry/BaseVector.h
+++ b/Framework/Geometry/BaseVector.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_BASEVECTOR_H_
-#define _include_BASEVECTOR_H_
+#pragma once
 
 #include <corsika/geometry/CoordinateSystem.h>
 #include <corsika/geometry/QuantityVector.h>
@@ -35,5 +34,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/CoordinateSystem.h b/Framework/Geometry/CoordinateSystem.h
index 614c76da9..b0257c39e 100644
--- a/Framework/Geometry/CoordinateSystem.h
+++ b/Framework/Geometry/CoordinateSystem.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_COORDINATESYSTEM_H_
-#define _include_COORDINATESYSTEM_H_
+#pragma once
 
 #include <corsika/geometry/QuantityVector.h>
 #include <corsika/units/PhysicalUnits.h>
@@ -121,5 +120,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/FourVector.h b/Framework/Geometry/FourVector.h
index cae2d6f85..8f3eadfe6 100644
--- a/Framework/Geometry/FourVector.h
+++ b/Framework/Geometry/FourVector.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_framework_geometry_fourvector_h_
-#define _include_corsika_framework_geometry_fourvector_h_
+#pragma once
 
 #include <corsika/geometry/Vector.h>
 #include <corsika/units/PhysicalUnits.h>
@@ -216,5 +215,3 @@ namespace corsika::geometry {
   }
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Helix.h b/Framework/Geometry/Helix.h
index 120522db2..2686e01f7 100644
--- a/Framework/Geometry/Helix.h
+++ b/Framework/Geometry/Helix.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_HELIX_H_
-#define _include_HELIX_H_
+#pragma once
 
 #include <corsika/geometry/Point.h>
 #include <corsika/geometry/Vector.h>
@@ -73,5 +72,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Line.h b/Framework/Geometry/Line.h
index b1d00fe81..eca0ad59e 100644
--- a/Framework/Geometry/Line.h
+++ b/Framework/Geometry/Line.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_LINETRAJECTORY_H
-#define _include_LINETRAJECTORY_H
+#pragma once
 
 #include <corsika/geometry/Point.h>
 #include <corsika/geometry/Vector.h>
@@ -50,5 +49,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Plane.h b/Framework/Geometry/Plane.h
index f82e883a5..3575dde93 100644
--- a/Framework/Geometry/Plane.h
+++ b/Framework/Geometry/Plane.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_Framework_Geometry_Plane_h_
-#define _include_Framework_Geometry_Plane_h_
+#pragma once
 
 #include <corsika/geometry/Point.h>
 #include <corsika/geometry/Vector.h>
@@ -41,5 +40,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Point.h b/Framework/Geometry/Point.h
index 4b7e121e7..7c59024d7 100644
--- a/Framework/Geometry/Point.h
+++ b/Framework/Geometry/Point.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_POINT_H_
-#define _include_POINT_H_
+#pragma once
 
 #include <corsika/geometry/BaseVector.h>
 #include <corsika/geometry/QuantityVector.h>
@@ -75,5 +74,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/QuantityVector.h b/Framework/Geometry/QuantityVector.h
index 0b3776464..bc9180757 100644
--- a/Framework/Geometry/QuantityVector.h
+++ b/Framework/Geometry/QuantityVector.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_QUANTITYVECTOR_H_
-#define _include_QUANTITYVECTOR_H_
+#pragma once
 
 #include <corsika/units/PhysicalUnits.h>
 
@@ -139,5 +138,3 @@ namespace corsika::geometry {
   }
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/RootCoordinateSystem.h b/Framework/Geometry/RootCoordinateSystem.h
index ac47ba9c4..4ccd5673d 100644
--- a/Framework/Geometry/RootCoordinateSystem.h
+++ b/Framework/Geometry/RootCoordinateSystem.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_geometry_rootcoordinatesystem_h_
-#define _include_corsika_geometry_rootcoordinatesystem_h_
+#pragma once
 
 #include <corsika/utl/Singleton.h>
 
@@ -41,5 +40,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Sphere.h b/Framework/Geometry/Sphere.h
index 894309f22..bc8c92825 100644
--- a/Framework/Geometry/Sphere.h
+++ b/Framework/Geometry/Sphere.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_SPHERE_H_
-#define _include_SPHERE_H_
+#pragma once
 
 #include <corsika/geometry/Point.h>
 #include <corsika/geometry/Volume.h>
@@ -36,5 +35,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Trajectory.h b/Framework/Geometry/Trajectory.h
index 559dbd562..71135d4c8 100644
--- a/Framework/Geometry/Trajectory.h
+++ b/Framework/Geometry/Trajectory.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_TRAJECTORY_H
-#define _include_TRAJECTORY_H
+#pragma once
 
 #include <corsika/geometry/Line.h>
 #include <corsika/geometry/Point.h>
@@ -56,5 +55,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Vector.h b/Framework/Geometry/Vector.h
index 64a5e8df2..927c36180 100644
--- a/Framework/Geometry/Vector.h
+++ b/Framework/Geometry/Vector.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_VECTOR_H_
-#define _include_VECTOR_H_
+#pragma once
 
 #include <corsika/geometry/BaseVector.h>
 #include <corsika/geometry/QuantityVector.h>
@@ -182,5 +181,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Geometry/Volume.h b/Framework/Geometry/Volume.h
index 7f82fa162..a51219110 100644
--- a/Framework/Geometry/Volume.h
+++ b/Framework/Geometry/Volume.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_VOLUME_H_
-#define _include_VOLUME_H_
+#pragma once
 
 #include <corsika/geometry/Point.h>
 
@@ -25,5 +24,3 @@ namespace corsika::geometry {
   };
 
 } // namespace corsika::geometry
-
-#endif
diff --git a/Framework/Logging/BufferedSink.h b/Framework/Logging/BufferedSink.h
index 5b2b3a62a..ae9bc080f 100644
--- a/Framework/Logging/BufferedSink.h
+++ b/Framework/Logging/BufferedSink.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_BufferedSink_h_
-#define _include_BufferedSink_h_
+#pragma once
 
 namespace corsika::logging {
 
@@ -76,5 +75,3 @@ namespace corsika::logging {
 
   } // namespace sink
 } // namespace corsika::logging
-
-#endif
diff --git a/Framework/Logging/Logger.h b/Framework/Logging/Logger.h
index 15ebe3c54..cceff44f9 100644
--- a/Framework/Logging/Logger.h
+++ b/Framework/Logging/Logger.h
@@ -14,8 +14,7 @@
    Everything around logfile generation and text output.
  */
 
-#ifndef _include_logger_h_
-#define _include_logger_h_
+#pragma once
 
 #include <iosfwd>
 #include <sstream>
@@ -86,5 +85,3 @@ namespace corsika::logging {
 #define LOG(__LOGGER, ...)                                                           \
   __LOGGER.Log(__LOGGER.GetName(), __FILE__, ":", __LINE__, " (", __func__, ") -> ", \
                __VA_ARGS__);
-
-#endif
diff --git a/Framework/Logging/MessageOff.h b/Framework/Logging/MessageOff.h
index 691824be0..ccdc92e6f 100644
--- a/Framework/Logging/MessageOff.h
+++ b/Framework/Logging/MessageOff.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_MessageOff_h_
-#define _include_MessageOff_h_
+#pragma once
 
 namespace corsika::logging {
 
@@ -26,5 +25,3 @@ namespace corsika::logging {
   };
 
 } // namespace corsika::logging
-
-#endif
diff --git a/Framework/Logging/MessageOn.h b/Framework/Logging/MessageOn.h
index 0b013a635..c7b2e8d02 100644
--- a/Framework/Logging/MessageOn.h
+++ b/Framework/Logging/MessageOn.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_MessageOn_h_
-#define _include_MessageOn_h_
+#pragma once
 
 namespace corsika::logging {
 
@@ -66,5 +65,3 @@ namespace corsika::logging {
   };
 
 } // namespace corsika::logging
-
-#endif
diff --git a/Framework/Logging/NoSink.h b/Framework/Logging/NoSink.h
index 866d35601..0f4be8914 100644
--- a/Framework/Logging/NoSink.h
+++ b/Framework/Logging/NoSink.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_NoSink_h_
-#define _include_NoSink_h_
+#pragma once
 
 namespace corsika::logging {
 
@@ -22,5 +21,3 @@ namespace corsika::logging {
 
   } // namespace sink
 } // namespace corsika::logging
-
-#endif
diff --git a/Framework/Logging/Sink.h b/Framework/Logging/Sink.h
index 28c768d6f..c050f2242 100644
--- a/Framework/Logging/Sink.h
+++ b/Framework/Logging/Sink.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_Sink_h_
-#define _include_Sink_h_
+#pragma once
 
 namespace corsika::logging {
 
@@ -43,5 +42,3 @@ namespace corsika::logging {
 
   } // namespace sink
 } // namespace corsika::logging
-
-#endif
diff --git a/Framework/Particles/ParticleProperties.h b/Framework/Particles/ParticleProperties.h
index baafb57e7..c0be35879 100644
--- a/Framework/Particles/ParticleProperties.h
+++ b/Framework/Particles/ParticleProperties.h
@@ -14,8 +14,7 @@
    Interface to particle properties
  */
 
-#ifndef _include_corsika_particles_ParticleProperties_h_
-#define _include_corsika_particles_ParticleProperties_h_
+#pragma once
 
 #include <array>
 #include <cstdint>
@@ -157,5 +156,3 @@ namespace corsika::particles {
   }
 
 } // namespace corsika::particles
-
-#endif
diff --git a/Framework/ProcessSequence/BaseProcess.h b/Framework/ProcessSequence/BaseProcess.h
index 31b7f5384..bf3c26e22 100644
--- a/Framework/ProcessSequence/BaseProcess.h
+++ b/Framework/ProcessSequence/BaseProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_baseprocess_h_
-#define _include_corsika_baseprocess_h_
+#pragma once
 
 #include <corsika/process/ProcessReturn.h> // for convenience
 #include <type_traits>
@@ -41,5 +40,3 @@ namespace corsika::process {
   std::true_type is_process_impl(const BaseProcess<T>* impl);
 
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/BoundaryCrossingProcess.h b/Framework/ProcessSequence/BoundaryCrossingProcess.h
index 7ca73cb36..cf3eb6223 100644
--- a/Framework/ProcessSequence/BoundaryCrossingProcess.h
+++ b/Framework/ProcessSequence/BoundaryCrossingProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_processes_BoundaryCrossingProcess_h_
-#define _include_corsika_processes_BoundaryCrossingProcess_h_
+#pragma once
 
 #include <corsika/environment/Environment.h>
 #include <corsika/process/ProcessReturn.h>
@@ -31,5 +30,3 @@ namespace corsika::process {
   template <class T>
   std::true_type is_process_impl(BoundaryCrossingProcess<T> const* impl);
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/ContinuousProcess.h b/Framework/ProcessSequence/ContinuousProcess.h
index 13ee20752..37ac71adb 100644
--- a/Framework/ProcessSequence/ContinuousProcess.h
+++ b/Framework/ProcessSequence/ContinuousProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_continuousprocess_h_
-#define _include_corsika_continuousprocess_h_
+#pragma once
 
 #include <corsika/process/ProcessReturn.h> // for convenience
 #include <corsika/units/PhysicalUnits.h>
@@ -45,5 +44,3 @@ namespace corsika::process {
   std::true_type is_process_impl(const ContinuousProcess<T>* impl);
 
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/DecayProcess.h b/Framework/ProcessSequence/DecayProcess.h
index 2f1131dca..ce7b55495 100644
--- a/Framework/ProcessSequence/DecayProcess.h
+++ b/Framework/ProcessSequence/DecayProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_decayprocess_h_
-#define _include_corsika_decayprocess_h_
+#pragma once
 
 #include <corsika/process/ProcessReturn.h> // for convenience
 #include <corsika/setup/SetupTrajectory.h>
@@ -50,5 +49,3 @@ namespace corsika::process {
   std::true_type is_process_impl(const DecayProcess<T>* impl);
 
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/InteractionProcess.h b/Framework/ProcessSequence/InteractionProcess.h
index a932be90e..8268dc2fb 100644
--- a/Framework/ProcessSequence/InteractionProcess.h
+++ b/Framework/ProcessSequence/InteractionProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_interactionprocess_h_
-#define _include_corsika_interactionprocess_h_
+#pragma once
 
 #include <corsika/process/ProcessReturn.h> // for convenience
 #include <corsika/setup/SetupTrajectory.h>
@@ -51,5 +50,3 @@ namespace corsika::process {
   std::true_type is_process_impl(const InteractionProcess<T>* impl);
 
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/ProcessReturn.h b/Framework/ProcessSequence/ProcessReturn.h
index 2684dade5..ce6701030 100644
--- a/Framework/ProcessSequence/ProcessReturn.h
+++ b/Framework/ProcessSequence/ProcessReturn.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_ProcessReturn_h_
-#define _include_ProcessReturn_h_
+#pragma once
 
 namespace corsika::process {
 
@@ -39,5 +38,3 @@ namespace corsika::process {
   }
 
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/ProcessSequence.h b/Framework/ProcessSequence/ProcessSequence.h
index 35fa6dae1..12cfae778 100644
--- a/Framework/ProcessSequence/ProcessSequence.h
+++ b/Framework/ProcessSequence/ProcessSequence.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_ProcessSequence_h_
-#define _include_ProcessSequence_h_
+#pragma once
 
 #include <corsika/process/BaseProcess.h>
 #include <corsika/process/BoundaryCrossingProcess.h>
@@ -342,5 +341,3 @@ namespace corsika::process {
   template <typename A, typename B>
   struct is_process_sequence<corsika::process::ProcessSequence<A, B>> : std::true_type {};
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/ProcessSignature.h b/Framework/ProcessSequence/ProcessSignature.h
index 0fb3abd9c..68b2889b1 100644
--- a/Framework/ProcessSequence/ProcessSignature.h
+++ b/Framework/ProcessSequence/ProcessSignature.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_process_processsignature_h_
-#define _include_process_processsignature_h_
+#pragma once
 
 #define FORCE_SIGNATURE(nameTrait, nameMethod, signatureMethod)                \
   template <typename U>                                                        \
@@ -27,5 +26,3 @@
   }
 
 // FORCE_SIGNATURE(thisMustBeDefined, T::thisMustBeDefined, int(*)(void));
-
-#endif
diff --git a/Framework/ProcessSequence/SecondariesProcess.h b/Framework/ProcessSequence/SecondariesProcess.h
index 8422012cb..ff9567ccc 100644
--- a/Framework/ProcessSequence/SecondariesProcess.h
+++ b/Framework/ProcessSequence/SecondariesProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_secondariesprocess_h_
-#define _include_corsika_secondariesprocess_h_
+#pragma once
 
 #include <corsika/process/ProcessReturn.h> // for convenience
 #include <corsika/setup/SetupTrajectory.h>
@@ -43,5 +42,3 @@ namespace corsika::process {
   std::true_type is_process_impl(const SecondariesProcess<T>* impl);
 
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/ProcessSequence/StackProcess.h b/Framework/ProcessSequence/StackProcess.h
index 2b2c9fcd0..61c51e339 100644
--- a/Framework/ProcessSequence/StackProcess.h
+++ b/Framework/ProcessSequence/StackProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_stackprocess_h_
-#define _include_corsika_stackprocess_h_
+#pragma once
 
 #include <corsika/process/ProcessReturn.h> // for convenience
 #include <corsika/setup/SetupTrajectory.h>
@@ -62,5 +61,3 @@ namespace corsika::process {
   std::true_type is_process_impl(const StackProcess<T>* impl);
 
 } // namespace corsika::process
-
-#endif
diff --git a/Framework/Random/ExponentialDistribution.h b/Framework/Random/ExponentialDistribution.h
index 46b12a639..4c58c8869 100644
--- a/Framework/Random/ExponentialDistribution.h
+++ b/Framework/Random/ExponentialDistribution.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_ExponentialDistribution_h
-#define _include_ExponentialDistribution_h
+#pragma once
 
 #include <corsika/units/PhysicalUnits.h>
 #include <random>
@@ -34,5 +33,3 @@ namespace corsika::random {
   };
 
 } // namespace corsika::random
-
-#endif
diff --git a/Framework/Random/RNGManager.h b/Framework/Random/RNGManager.h
index 5d17a9304..b2bedf33d 100644
--- a/Framework/Random/RNGManager.h
+++ b/Framework/Random/RNGManager.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_RNGManager_h_
-#define _include_RNGManager_h_
+#pragma once
 
 #include <corsika/utl/Singleton.h>
 
@@ -72,4 +71,3 @@ namespace corsika::random {
   };
 
 } // namespace corsika::random
-#endif
diff --git a/Framework/Random/UniformRealDistribution.h b/Framework/Random/UniformRealDistribution.h
index 7f96bea92..53c28bfbf 100644
--- a/Framework/Random/UniformRealDistribution.h
+++ b/Framework/Random/UniformRealDistribution.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_UniformRealDistribution_h
-#define _include_UniformRealDistribution_h
+#pragma once
 
 #include <corsika/units/PhysicalUnits.h>
 #include <random>
@@ -38,5 +37,3 @@ namespace corsika::random {
   };
 
 } // namespace corsika::random
-
-#endif
diff --git a/Framework/StackInterface/CombinedStack.h b/Framework/StackInterface/CombinedStack.h
index 42f2f78d8..ee3409e79 100644
--- a/Framework/StackInterface/CombinedStack.h
+++ b/Framework/StackInterface/CombinedStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_stack_combinedstack_h_
-#define _include_stack_combinedstack_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/stack/Stack.h>
@@ -173,5 +172,3 @@ namespace corsika::stack {
   using CombinedStack = Stack<CombinedStackImpl<Stack1Impl, Stack2Impl>, _PI>;
 
 } // namespace corsika::stack
-
-#endif
diff --git a/Framework/StackInterface/ParticleBase.h b/Framework/StackInterface/ParticleBase.h
index 78a4c867c..dfd4afc7c 100644
--- a/Framework/StackInterface/ParticleBase.h
+++ b/Framework/StackInterface/ParticleBase.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_particleBase_h_
-#define _include_particleBase_h_
+#pragma once
 
 #include <type_traits>
 
@@ -106,5 +105,3 @@ namespace corsika::stack {
   };
 
 } // namespace corsika::stack
-
-#endif
diff --git a/Framework/StackInterface/SecondaryView.h b/Framework/StackInterface/SecondaryView.h
index a1dd42409..091c88954 100644
--- a/Framework/StackInterface/SecondaryView.h
+++ b/Framework/StackInterface/SecondaryView.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_stack_secondaryview_h_
-#define _include_corsika_stack_secondaryview_h_
+#pragma once
 
 #include <corsika/stack/Stack.h>
 
@@ -246,5 +245,3 @@ namespace corsika::stack {
 #endif
 
 } // namespace corsika::stack
-
-#endif
diff --git a/Framework/StackInterface/Stack.h b/Framework/StackInterface/Stack.h
index c5c78ad8b..0e19a2431 100644
--- a/Framework/StackInterface/Stack.h
+++ b/Framework/StackInterface/Stack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_Stack_h__
-#define _include_Stack_h__
+#pragma once
 
 #include <corsika/stack/StackIteratorInterface.h>
 // must be after StackIteratorInterface
@@ -240,5 +239,3 @@ namespace corsika::stack {
   };
 
 } // namespace corsika::stack
-
-#endif
diff --git a/Framework/StackInterface/StackIteratorInterface.h b/Framework/StackInterface/StackIteratorInterface.h
index 16c08f03e..4b0c283a1 100644
--- a/Framework/StackInterface/StackIteratorInterface.h
+++ b/Framework/StackInterface/StackIteratorInterface.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_StackIteratorinterface_h__
-#define _include_StackIteratorinterface_h__
+#pragma once
 
 #include <corsika/stack/ParticleBase.h>
 
@@ -286,5 +285,3 @@ namespace corsika::stack {
   }; // end class ConstStackIterator
 
 } // namespace corsika::stack
-
-#endif
diff --git a/Framework/StackInterface/testTestStack.h b/Framework/StackInterface/testTestStack.h
index d7a9e7b43..c2b309b06 100644
--- a/Framework/StackInterface/testTestStack.h
+++ b/Framework/StackInterface/testTestStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_stack_testTestStack_h_
-#define _include_corsika_stack_testTestStack_h_
+#pragma once
 
 #include <corsika/stack/Stack.h>
 #include <tuple>
@@ -94,5 +93,3 @@ public:
   void SetData(const double v) { GetStackData().SetData(GetIndex(), v); }
   double GetData() const { return GetStackData().GetData(GetIndex()); }
 };
-
-#endif
diff --git a/Framework/Units/PhysicalConstants.h b/Framework/Units/PhysicalConstants.h
index da86bbd1e..cd1463dd3 100644
--- a/Framework/Units/PhysicalConstants.h
+++ b/Framework/Units/PhysicalConstants.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef INCLUDE_PHYSICAL_CONSTANTS_H
-#define INCLUDE_PHYSICAL_CONSTANTS_H
+#pragma once
 
 #include <phys/units/quantity.hpp>
 
@@ -66,5 +65,3 @@ namespace corsika::units::constants {
   // etc.
 
 } // namespace corsika::units::constants
-
-#endif // PHYS_UNITS_PHYSICAL_CONSTANTS_HPP_INCLUDED
diff --git a/Framework/Units/PhysicalUnits.h b/Framework/Units/PhysicalUnits.h
index e701928f8..cb753cd53 100644
--- a/Framework/Units/PhysicalUnits.h
+++ b/Framework/Units/PhysicalUnits.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_PhysicalUnits_h_
-#define _include_PhysicalUnits_h_
+#pragma once
 
 #include <corsika/units/PhysicalConstants.h>
 
@@ -163,5 +162,3 @@ namespace phys {
     } // namespace literals
   }   // namespace units
 } // namespace phys
-
-#endif
diff --git a/Framework/Utilities/Bit.h b/Framework/Utilities/Bit.h
index c3e549028..7d5030e0f 100644
--- a/Framework/Utilities/Bit.h
+++ b/Framework/Utilities/Bit.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_utl_Bit_h_
-#define _corsika_utl_Bit_h_
+#pragma once
 
 /**
   \author Hans Dembinski
@@ -92,5 +91,3 @@ namespace corsika::utl {
   }
 
 } // namespace corsika::utl
-
-#endif
diff --git a/Framework/Utilities/COMBoost.h b/Framework/Utilities/COMBoost.h
index e25d74e82..b69202134 100644
--- a/Framework/Utilities/COMBoost.h
+++ b/Framework/Utilities/COMBoost.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_utilties_comboost_h_
-#define _include_corsika_utilties_comboost_h_
+#pragma once
 
 #include <corsika/geometry/CoordinateSystem.h>
 #include <corsika/geometry/FourVector.h>
@@ -98,5 +97,3 @@ namespace corsika::utl {
     geometry::CoordinateSystem const& GetRotatedCS() const;
   };
 } // namespace corsika::utl
-
-#endif
diff --git a/Framework/Utilities/CorsikaFenv.h b/Framework/Utilities/CorsikaFenv.h
index 459be7ff6..98a98c84d 100644
--- a/Framework/Utilities/CorsikaFenv.h
+++ b/Framework/Utilities/CorsikaFenv.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef CORSIKA_CORSIKAFENV_H
-#define CORSIKA_CORSIKAFENV_H
+#pragma once
 
 #include <cfenv>
 
@@ -22,5 +21,3 @@ extern "C" {
 int feenableexcept(int excepts);
 int fedisableexcept(int excepts);
 }
-
-#endif // CORSIKA_CORSIKAFENV_H
diff --git a/Framework/Utilities/MetaProgramming.h b/Framework/Utilities/MetaProgramming.h
index 1d88cb218..dfef000e0 100644
--- a/Framework/Utilities/MetaProgramming.h
+++ b/Framework/Utilities/MetaProgramming.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_utilties_meta_programming_h_
-#define _include_corsika_utilties_meta_programming_h_
+#pragma once
 
 #include <type_traits>
 
@@ -61,5 +60,3 @@ namespace corsika::utl {
   template <class Trait>
   using disable_if = typename std::enable_if<(Trait::value == false)>::type;
 } // namespace corsika::utl
-
-#endif
diff --git a/Framework/Utilities/Singleton.h b/Framework/Utilities/Singleton.h
index 944fbe6f9..e8c3b99b0 100644
--- a/Framework/Utilities/Singleton.h
+++ b/Framework/Utilities/Singleton.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_utl_Singleton_h_
-#define _corsika_utl_Singleton_h_
+#pragma once
 
 //#define OFFLINE_USE_GAMMA_SINGLETON
 
@@ -59,5 +58,3 @@ namespace corsika::utl {
   };
 
 } // namespace corsika::utl
-
-#endif
diff --git a/Framework/Utilities/sgn.h b/Framework/Utilities/sgn.h
index 84fca4e55..f192d51bf 100644
--- a/Framework/Utilities/sgn.h
+++ b/Framework/Utilities/sgn.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _utilities_sgn_h
-#define _utilities_sgn_h
+#pragma once
 
 namespace corsika::utl {
 
@@ -20,5 +19,3 @@ namespace corsika::utl {
   }
 
 } // namespace corsika::utl
-
-#endif
diff --git a/Processes/EnergyLoss/EnergyLoss.h b/Processes/EnergyLoss/EnergyLoss.h
index 2e8e79552..82372dd78 100644
--- a/Processes/EnergyLoss/EnergyLoss.h
+++ b/Processes/EnergyLoss/EnergyLoss.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Processes_EnergyLoss_h_
-#define _Processes_EnergyLoss_h_
+#pragma once
 
 #include <corsika/environment/ShowerAxis.h>
 #include <corsika/geometry/Point.h>
@@ -64,5 +63,3 @@ namespace corsika::process::energy_loss {
     return 0.0001_g / square(1_cm);
   });
 } // namespace corsika::process::energy_loss
-
-#endif
diff --git a/Processes/HadronicElasticModel/HadronicElasticModel.h b/Processes/HadronicElasticModel/HadronicElasticModel.h
index e9533139b..4fc92d5d4 100644
--- a/Processes/HadronicElasticModel/HadronicElasticModel.h
+++ b/Processes/HadronicElasticModel/HadronicElasticModel.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_HadronicElasticInteraction_h
-#define _include_HadronicElasticInteraction_h
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/InteractionProcess.h>
@@ -63,5 +62,3 @@ namespace corsika::process::HadronicElasticModel {
   };
 
 } // namespace corsika::process::HadronicElasticModel
-
-#endif
diff --git a/Processes/InteractionCounter/InteractionCounter.h b/Processes/InteractionCounter/InteractionCounter.h
index a03c52888..985b3e137 100644
--- a/Processes/InteractionCounter/InteractionCounter.h
+++ b/Processes/InteractionCounter/InteractionCounter.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_InteractionCounter_h
-#define _corsika_InteractionCounter_h
+#pragma once
 
 #include <corsika/process/InteractionProcess.h>
 #include <corsika/process/ProcessSequence.h>
@@ -63,5 +62,3 @@ namespace corsika::process::interaction_counter {
   };
 
 } // namespace corsika::process::interaction_counter
-
-#endif
diff --git a/Processes/LongitudinalProfile/LongitudinalProfile.h b/Processes/LongitudinalProfile/LongitudinalProfile.h
index 68de7e0a0..fcf9b2463 100644
--- a/Processes/LongitudinalProfile/LongitudinalProfile.h
+++ b/Processes/LongitudinalProfile/LongitudinalProfile.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Processes_track_writer_LongitudinalProfile_h_
-#define _Processes_track_writer_LongitudinalProfile_h_
+#pragma once
 
 #include <corsika/environment/ShowerAxis.h>
 #include <corsika/process/ContinuousProcess.h>
@@ -56,5 +55,3 @@ namespace corsika::process::longitudinal_profile {
   };
 
 } // namespace corsika::process::longitudinal_profile
-
-#endif
diff --git a/Processes/NullModel/NullModel.h b/Processes/NullModel/NullModel.h
index f02978af7..18ac43654 100644
--- a/Processes/NullModel/NullModel.h
+++ b/Processes/NullModel/NullModel.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Physics_NullModel_NullModel_h_
-#define _Physics_NullModel_NullModel_h_
+#pragma once
 
 #include <corsika/process/BaseProcess.h>
 #include <corsika/units/PhysicalUnits.h>
@@ -33,5 +32,3 @@ namespace corsika::process::null_model {
   };
 
 } // namespace corsika::process::null_model
-
-#endif
diff --git a/Processes/ObservationPlane/ObservationPlane.h b/Processes/ObservationPlane/ObservationPlane.h
index 900b7a589..377d8a1bd 100644
--- a/Processes/ObservationPlane/ObservationPlane.h
+++ b/Processes/ObservationPlane/ObservationPlane.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Processes_ObservationPlane_h_
-#define _Processes_ObservationPlane_h_
+#pragma once
 
 #include <corsika/geometry/Plane.h>
 #include <corsika/process/ContinuousProcess.h>
@@ -46,5 +45,3 @@ namespace corsika::process::observation_plane {
     bool const deleteOnHit_;
   };
 } // namespace corsika::process::observation_plane
-
-#endif
diff --git a/Processes/ParticleCut/ParticleCut.h b/Processes/ParticleCut/ParticleCut.h
index 739a1919e..e0c78f881 100644
--- a/Processes/ParticleCut/ParticleCut.h
+++ b/Processes/ParticleCut/ParticleCut.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_process_particle_cut_ParticleCut_h_
-#define _corsika_process_particle_cut_ParticleCut_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/SecondariesProcess.h>
@@ -51,5 +50,3 @@ namespace corsika::process {
     };
   } // namespace particle_cut
 } // namespace corsika::process
-
-#endif
diff --git a/Processes/Pythia/Decay.h b/Processes/Pythia/Decay.h
index 0bce429c4..70573a2bf 100644
--- a/Processes/Pythia/Decay.h
+++ b/Processes/Pythia/Decay.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_process_pythia_decay_h_
-#define _include_corsika_process_pythia_decay_h_
+#pragma once
 
 #include <Pythia8/Pythia.h>
 #include <corsika/particles/ParticleProperties.h>
@@ -79,5 +78,3 @@ namespace corsika::process {
 
   } // namespace pythia
 } // namespace corsika::process
-
-#endif
diff --git a/Processes/Pythia/Interaction.h b/Processes/Pythia/Interaction.h
index 3594358e0..c75ff030e 100644
--- a/Processes/Pythia/Interaction.h
+++ b/Processes/Pythia/Interaction.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_process_pythia_interaction_h_
-#define _corsika_process_pythia_interaction_h_
+#pragma once
 
 #include <Pythia8/Pythia.h>
 
@@ -71,5 +70,3 @@ namespace corsika::process::pythia {
   };
 
 } // namespace corsika::process::pythia
-
-#endif
diff --git a/Processes/Pythia/Random.h b/Processes/Pythia/Random.h
index 9a6fb6fc7..1ebf22c5f 100644
--- a/Processes/Pythia/Random.h
+++ b/Processes/Pythia/Random.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_process_pythia_random_h_
-#define _include_corsika_process_pythia_random_h_
+#pragma once
 
 #include <Pythia8/Pythia.h>
 #include <corsika/random/RNGManager.h>
@@ -29,5 +28,3 @@ namespace corsika::process {
 
   } // namespace pythia
 } // namespace corsika::process
-
-#endif
diff --git a/Processes/QGSJetII/Interaction.h b/Processes/QGSJetII/Interaction.h
index 7df95c151..09ec576e8 100644
--- a/Processes/QGSJetII/Interaction.h
+++ b/Processes/QGSJetII/Interaction.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_process_qgsjetII_interaction_h_
-#define _corsika_process_qgsjetII_interaction_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/InteractionProcess.h>
@@ -65,5 +64,3 @@ namespace corsika::process::qgsjetII {
   };
 
 } // namespace corsika::process::qgsjetII
-
-#endif
diff --git a/Processes/QGSJetII/ParticleConversion.h b/Processes/QGSJetII/ParticleConversion.h
index 352db6b5f..75c5e46a2 100644
--- a/Processes/QGSJetII/ParticleConversion.h
+++ b/Processes/QGSJetII/ParticleConversion.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_processes_qgsjetII_particles_h_
-#define _include_processes_qgsjetII_particles_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 
@@ -96,5 +95,3 @@ namespace corsika::process::qgsjetII {
   }
 
 } // namespace corsika::process::qgsjetII
-
-#endif
diff --git a/Processes/QGSJetII/QGSJetIIFragmentsStack.h b/Processes/QGSJetII/QGSJetIIFragmentsStack.h
index 7704c19fc..9d5c6a598 100644
--- a/Processes/QGSJetII/QGSJetIIFragmentsStack.h
+++ b/Processes/QGSJetII/QGSJetIIFragmentsStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_qgsjetIIfragmentsstack_h_
-#define _include_qgsjetIIfragmentsstack_h_
+#pragma once
 
 #include <corsika/geometry/RootCoordinateSystem.h>
 #include <corsika/geometry/Vector.h>
@@ -76,5 +75,3 @@ namespace corsika::process::qgsjetII {
       QGSJetIIFragmentsStack;
 
 } // end namespace corsika::process::qgsjetII
-
-#endif
diff --git a/Processes/QGSJetII/QGSJetIIStack.h b/Processes/QGSJetII/QGSJetIIStack.h
index a58f3fe97..5d7b6d7c4 100644
--- a/Processes/QGSJetII/QGSJetIIStack.h
+++ b/Processes/QGSJetII/QGSJetIIStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_qgsjetIIstack_h_
-#define _include_qgsjetIIstack_h_
+#pragma once
 
 #include <corsika/geometry/CoordinateSystem.h>
 #include <corsika/geometry/Vector.h>
@@ -132,5 +131,3 @@ namespace corsika::process::qgsjetII {
   typedef corsika::stack::Stack<QGSJetIIStackData, ParticleInterface> QGSJetIIStack;
 
 } // end namespace corsika::process::qgsjetII
-
-#endif
diff --git a/Processes/QGSJetII/qgsjet-II-04.h b/Processes/QGSJetII/qgsjet-II-04.h
index 3dcb495a3..0f4910e59 100644
--- a/Processes/QGSJetII/qgsjet-II-04.h
+++ b/Processes/QGSJetII/qgsjet-II-04.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_qgsjetII_interface_h_
-#define _include_qgsjetII_interface_h_
+#pragma once
 
 #include <string>
 
@@ -101,5 +100,3 @@ double qgsect_(const double& e0n, const int& icz, const int& iap0, const int& ia
  */
 double qgran_(int&);
 }
-
-#endif
diff --git a/Processes/Sibyll/Decay.h b/Processes/Sibyll/Decay.h
index 967434853..ae05c7bce 100644
--- a/Processes/Sibyll/Decay.h
+++ b/Processes/Sibyll/Decay.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_process_sibyll_decay_h_
-#define _include_corsika_process_sibyll_decay_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/DecayProcess.h>
@@ -88,5 +87,3 @@ namespace corsika::process {
   } // namespace sibyll
 
 } // namespace corsika::process
-
-#endif
diff --git a/Processes/Sibyll/Interaction.h b/Processes/Sibyll/Interaction.h
index ebf4ac22a..61e8c30dd 100644
--- a/Processes/Sibyll/Interaction.h
+++ b/Processes/Sibyll/Interaction.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_process_sibyll_interaction_h_
-#define _corsika_process_sibyll_interaction_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/InteractionProcess.h>
@@ -72,5 +71,3 @@ namespace corsika::process::sibyll {
   };
 
 } // namespace corsika::process::sibyll
-
-#endif
diff --git a/Processes/Sibyll/NuclearInteraction.h b/Processes/Sibyll/NuclearInteraction.h
index 1be24afcc..42480b827 100644
--- a/Processes/Sibyll/NuclearInteraction.h
+++ b/Processes/Sibyll/NuclearInteraction.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_process_sibyll_nuclearinteraction_h_
-#define _corsika_process_sibyll_nuclearinteraction_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/InteractionProcess.h>
@@ -78,5 +77,3 @@ namespace corsika::process::sibyll {
   };
 
 } // namespace corsika::process::sibyll
-
-#endif
diff --git a/Processes/Sibyll/ParticleConversion.h b/Processes/Sibyll/ParticleConversion.h
index 63b06f19d..7f11888e9 100644
--- a/Processes/Sibyll/ParticleConversion.h
+++ b/Processes/Sibyll/ParticleConversion.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_processes_sibyll_particles_h_
-#define _include_processes_sibyll_particles_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/sibyll/sibyll2.3d.h>
@@ -66,5 +65,3 @@ namespace corsika::process::sibyll {
   corsika::units::si::HEPMassType GetSibyllMass(corsika::particles::Code const);
 
 } // namespace corsika::process::sibyll
-
-#endif
diff --git a/Processes/Sibyll/SibStack.h b/Processes/Sibyll/SibStack.h
index 86956435b..1a9d07b4d 100644
--- a/Processes/Sibyll/SibStack.h
+++ b/Processes/Sibyll/SibStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_sibstack_h_
-#define _include_sibstack_h_
+#pragma once
 
 #include <corsika/geometry/RootCoordinateSystem.h>
 #include <corsika/geometry/Vector.h>
@@ -148,5 +147,3 @@ namespace corsika::process::sibyll {
   typedef corsika::stack::Stack<SibStackData, ParticleInterface> SibStack;
 
 } // end namespace corsika::process::sibyll
-
-#endif
diff --git a/Processes/Sibyll/nuclib.h b/Processes/Sibyll/nuclib.h
index b3fc2c059..874678c63 100644
--- a/Processes/Sibyll/nuclib.h
+++ b/Processes/Sibyll/nuclib.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_nuclib_interface_h_
-#define _include_nuclib_interface_h_
+#pragma once
 
 extern "C" {
 
@@ -57,4 +56,3 @@ void signuc2_(const int&, const int&, const double&, double&);
 void sigma_mc_(const int&, const int&, const double&, const double&, const int&, double&,
                double&, double&, double&);
 }
-#endif
diff --git a/Processes/Sibyll/sibyll2.3d.h b/Processes/Sibyll/sibyll2.3d.h
index f5893db90..fc5b1730c 100644
--- a/Processes/Sibyll/sibyll2.3d.h
+++ b/Processes/Sibyll/sibyll2.3d.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_sib23d_interface_h_
-#define _include_sib23d_interface_h_
+#pragma once
 //----------------------------------------------
 //  C++ interface for the SIBYLL event generator
 //----------------------------------------------
@@ -105,4 +104,3 @@ double get_sibyll_mass2(int&);
 // phojet random generator setup
 void pho_rndin_(int&, int&, int&, int&);
 }
-#endif
diff --git a/Processes/StackInspector/StackInspector.h b/Processes/StackInspector/StackInspector.h
index 7b6b3aba6..ab18a81e8 100644
--- a/Processes/StackInspector/StackInspector.h
+++ b/Processes/StackInspector/StackInspector.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Physics_StackInspector_StackInspector_h_
-#define _Physics_StackInspector_StackInspector_h_
+#pragma once
 
 #include <corsika/process/StackProcess.h>
 #include <corsika/setup/SetupTrajectory.h>
@@ -54,5 +53,3 @@ namespace corsika::process {
   } // namespace stack_inspector
 
 } // namespace corsika::process
-
-#endif
diff --git a/Processes/SwitchProcess/SwitchProcess.h b/Processes/SwitchProcess/SwitchProcess.h
index b217af0a5..786f189c1 100644
--- a/Processes/SwitchProcess/SwitchProcess.h
+++ b/Processes/SwitchProcess/SwitchProcess.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_SwitchProcess_h
-#define _corsika_SwitchProcess_h
+#pragma once
 
 #include <corsika/process/InteractionProcess.h>
 #include <corsika/process/ProcessSequence.h>
@@ -104,5 +103,3 @@ namespace corsika::process::switch_process {
     }
   };
 } // namespace corsika::process::switch_process
-
-#endif
diff --git a/Processes/TrackWriter/TrackWriter.h b/Processes/TrackWriter/TrackWriter.h
index 0a7054c74..de79c90d4 100644
--- a/Processes/TrackWriter/TrackWriter.h
+++ b/Processes/TrackWriter/TrackWriter.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Processes_track_writer_TrackWriter_h_
-#define _Processes_track_writer_TrackWriter_h_
+#pragma once
 
 #include <corsika/process/ContinuousProcess.h>
 #include <corsika/units/PhysicalUnits.h>
@@ -42,5 +41,3 @@ namespace corsika::process::track_writer {
   };
 
 } // namespace corsika::process::track_writer
-
-#endif
diff --git a/Processes/TrackingLine/TrackingLine.h b/Processes/TrackingLine/TrackingLine.h
index a50c2dd96..943bfa89c 100644
--- a/Processes/TrackingLine/TrackingLine.h
+++ b/Processes/TrackingLine/TrackingLine.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_processes_TrackingLine_h_
-#define _include_corsika_processes_TrackingLine_h_
+#pragma once
 
 #include <corsika/geometry/Line.h>
 #include <corsika/geometry/Plane.h>
@@ -139,5 +138,3 @@ namespace corsika::process {
   } // namespace tracking_line
 
 } // namespace corsika::process
-
-#endif
diff --git a/Processes/TrackingLine/testTrackingLineStack.h b/Processes/TrackingLine/testTrackingLineStack.h
index 8bdf76626..e6a3d7ee8 100644
--- a/Processes/TrackingLine/testTrackingLineStack.h
+++ b/Processes/TrackingLine/testTrackingLineStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_process_trackinling_teststack_h_
-#define _include_process_trackinling_teststack_h_
+#pragma once
 
 #include <corsika/environment/Environment.h>
 #include <corsika/geometry/Point.h>
@@ -32,5 +31,3 @@ using StackWithGeometryInterface = corsika::stack::CombinedParticleInterface<
 using TestTrackingLineStack = corsika::stack::CombinedStack<
     typename corsika::setup::detail::ParticleDataStack::StackImpl,
     GeometryData<TestEnvironmentType>, StackWithGeometryInterface>;
-
-#endif
diff --git a/Processes/UrQMD/UrQMD.h b/Processes/UrQMD/UrQMD.h
index 47ca573c7..c477df119 100644
--- a/Processes/UrQMD/UrQMD.h
+++ b/Processes/UrQMD/UrQMD.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _Processes_UrQMD_UrQMD_h
-#define _Processes_UrQMD_UrQMD_h
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/InteractionProcess.h>
@@ -155,5 +154,3 @@ namespace corsika::process::UrQMD {
   particles::Code ConvertFromUrQMD(int vItyp, int vIso3);
 
 } // namespace corsika::process::UrQMD
-
-#endif
diff --git a/Setup/SetupEnvironment.h b/Setup/SetupEnvironment.h
index fc049b189..303184bb8 100644
--- a/Setup/SetupEnvironment.h
+++ b/Setup/SetupEnvironment.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_corsika_setup_environment_h_
-#define _include_corsika_setup_environment_h_
+#pragma once
 
 #include <corsika/environment/Environment.h>
 #include <corsika/environment/IMediumModel.h>
@@ -19,5 +18,3 @@ namespace corsika::setup {
   using IEnvironmentModel = environment::IMediumModel;
   using SetupEnvironment = environment::Environment<IEnvironmentModel>;
 } // namespace corsika::setup
-
-#endif
diff --git a/Setup/SetupLogger.h b/Setup/SetupLogger.h
index d3a723d62..939c7d359 100644
--- a/Setup/SetupLogger.h
+++ b/Setup/SetupLogger.h
@@ -8,9 +8,6 @@
  * the license.
  */
 
-#ifndef _include_corsika_setup_logger_h_
-#define _include_corsika_setup_logger_h_
+#pragma once
 
 namespace corsika {}
-
-#endif
diff --git a/Setup/SetupStack.h b/Setup/SetupStack.h
index 18d81195c..16cdf64ab 100644
--- a/Setup/SetupStack.h
+++ b/Setup/SetupStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_setup_setupstack_h_
-#define _corsika_setup_setupstack_h_
+#pragma once
 
 // the basic particle data stack:
 #include <corsika/stack/super_stupid/SuperStupidStack.h>
@@ -151,5 +150,3 @@ namespace corsika::setup {
 #endif
 
 } // namespace corsika::setup
-
-#endif
diff --git a/Setup/SetupTrajectory.h b/Setup/SetupTrajectory.h
index 2b8dd1a3b..f254aa366 100644
--- a/Setup/SetupTrajectory.h
+++ b/Setup/SetupTrajectory.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _corsika_setup_setuptrajectory_h_
-#define _corsika_setup_setuptrajectory_h_
+#pragma once
 
 #include <corsika/geometry/Helix.h>
 #include <corsika/geometry/Line.h>
@@ -59,5 +58,3 @@ namespace corsika::setup {
   };
   */
 } // namespace corsika::setup
-
-#endif
diff --git a/Stack/DummyStack/DummyStack.h b/Stack/DummyStack/DummyStack.h
index a7be951ab..d4781e3ee 100644
--- a/Stack/DummyStack/DummyStack.h
+++ b/Stack/DummyStack/DummyStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_dummystack_h_
-#define _include_dummystack_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/stack/Stack.h>
@@ -67,5 +66,3 @@ namespace corsika::stack {
   } // namespace dummy
 
 } // namespace corsika::stack
-
-#endif
diff --git a/Stack/NuclearStackExtension/NuclearStackExtension.h b/Stack/NuclearStackExtension/NuclearStackExtension.h
index 2c1d38f54..8898d15aa 100644
--- a/Stack/NuclearStackExtension/NuclearStackExtension.h
+++ b/Stack/NuclearStackExtension/NuclearStackExtension.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_stack_nuclearstackextension_h_
-#define _include_stack_nuclearstackextension_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/stack/Stack.h>
@@ -372,5 +371,3 @@ namespace corsika::stack {
 
   } // namespace nuclear_extension
 } // namespace corsika::stack
-
-#endif
diff --git a/Stack/SuperStupidStack/SuperStupidStack.h b/Stack/SuperStupidStack/SuperStupidStack.h
index 31e39dd45..e5d9ad0ae 100644
--- a/Stack/SuperStupidStack/SuperStupidStack.h
+++ b/Stack/SuperStupidStack/SuperStupidStack.h
@@ -8,8 +8,7 @@
  * the license.
  */
 
-#ifndef _include_superstupidstack_h_
-#define _include_superstupidstack_h_
+#pragma once
 
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/stack/Stack.h>
@@ -250,5 +249,3 @@ namespace corsika::stack {
   } // namespace super_stupid
 
 } // namespace corsika::stack
-
-#endif
-- 
GitLab