From 1a25d5960544742602dcd270d7ad1ad4c5d5fe07 Mon Sep 17 00:00:00 2001
From: chantrait <teddy.chantrait@cea.fr>
Date: Thu, 3 Aug 2023 22:35:23 +0200
Subject: [PATCH] remove pragma once

---
 src/scheme/AcousticSolver.hpp               | 8 +++++---
 src/scheme/HyperelasticSolver.hpp           | 4 +++-
 src/scheme/IBoundaryConditionDescriptor.hpp | 4 +++-
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/scheme/AcousticSolver.hpp b/src/scheme/AcousticSolver.hpp
index 7d5c5e590..2c5bc8efa 100644
--- a/src/scheme/AcousticSolver.hpp
+++ b/src/scheme/AcousticSolver.hpp
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef ACOUSTIC_SOLVER_HPP
+#define ACOUSTIC_SOLVER_HPP
 #include <memory>
 #include <tuple>
 #include <vector>
@@ -57,8 +58,8 @@ class AcousticSolverHandler
           const std::shared_ptr<const DiscreteFunctionVariant>& p,
           const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>& bc_descriptor_list) const = 0;
 
-    IAcousticSolver()                             = default;
-    IAcousticSolver(IAcousticSolver&&)            = default;
+    IAcousticSolver()                  = default;
+    IAcousticSolver(IAcousticSolver&&) = default;
     IAcousticSolver& operator=(IAcousticSolver&&) = default;
 
     virtual ~IAcousticSolver() = default;
@@ -78,3 +79,4 @@ class AcousticSolverHandler
 
   AcousticSolverHandler(const std::shared_ptr<const IMesh>& mesh);
 };
+#endif   // ACOUSTIC_SOLVER_HPP
diff --git a/src/scheme/HyperelasticSolver.hpp b/src/scheme/HyperelasticSolver.hpp
index 044ccd96f..0454998cf 100644
--- a/src/scheme/HyperelasticSolver.hpp
+++ b/src/scheme/HyperelasticSolver.hpp
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef HYPERELASTIC_SOLVER_HPP
+#define HYPERELASTIC_SOLVER_HPP
 #include <memory>
 #include <tuple>
 #include <vector>
@@ -84,3 +85,4 @@ class HyperelasticSolverHandler
 
   HyperelasticSolverHandler(const std::shared_ptr<const IMesh>& mesh);
 };
+#endif   // HYPERELASTIC_SOLVER_HPP
diff --git a/src/scheme/IBoundaryConditionDescriptor.hpp b/src/scheme/IBoundaryConditionDescriptor.hpp
index 431f6b47f..97a87f3f1 100644
--- a/src/scheme/IBoundaryConditionDescriptor.hpp
+++ b/src/scheme/IBoundaryConditionDescriptor.hpp
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef I_BOUNDARY_CONDITION_DESCRIPTOR_HPP
+#define I_BOUNDARY_CONDITION_DESCRIPTOR_HPP
 
 #include <iostream>
 
@@ -42,3 +43,4 @@ class IBoundaryConditionDescriptor
 
   virtual ~IBoundaryConditionDescriptor() = default;
 };
+#endif   // I_BOUNDARY_CONDITION_DESCRIPTOR_HPP
-- 
GitLab