summaryrefslogtreecommitdiff
path: root/sccomp/source/solver
diff options
context:
space:
mode:
Diffstat (limited to 'sccomp/source/solver')
-rw-r--r--sccomp/source/solver/DifferentialEvolution.hxx5
-rw-r--r--sccomp/source/solver/ParticelSwarmOptimization.hxx5
-rw-r--r--sccomp/source/solver/SolverComponent.hxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/sccomp/source/solver/DifferentialEvolution.hxx b/sccomp/source/solver/DifferentialEvolution.hxx
index 7d18821350aa..97453437cdb3 100644
--- a/sccomp/source/solver/DifferentialEvolution.hxx
+++ b/sccomp/source/solver/DifferentialEvolution.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SCCOMP_SOURCE_DIFFERENTIALEVOLUTION_HXX
-#define INCLUDED_SCCOMP_SOURCE_DIFFERENTIALEVOLUTION_HXX
+#pragma once
#include <vector>
#include <random>
@@ -160,6 +159,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sccomp/source/solver/ParticelSwarmOptimization.hxx b/sccomp/source/solver/ParticelSwarmOptimization.hxx
index 42782cfa5b69..ad1103309341 100644
--- a/sccomp/source/solver/ParticelSwarmOptimization.hxx
+++ b/sccomp/source/solver/ParticelSwarmOptimization.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SCCOMP_SOURCE_PARTICLESWARM_HXX
-#define INCLUDED_SCCOMP_SOURCE_PARTICLESWARM_HXX
+#pragma once
#include <vector>
#include <random>
@@ -175,6 +174,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sccomp/source/solver/SolverComponent.hxx b/sccomp/source/solver/SolverComponent.hxx
index d4ead6889291..1abe8f494a16 100644
--- a/sccomp/source/solver/SolverComponent.hxx
+++ b/sccomp/source/solver/SolverComponent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SCCOMP_SOURCE_SOLVER_SOLVERCOMPONENT_HXX
-#define INCLUDED_SCCOMP_SOURCE_SOLVER_SOLVERCOMPONENT_HXX
+#pragma once
#include <com/sun/star/sheet/XSolver.hpp>
#include <com/sun/star/sheet/XSolverDescription.hpp>
@@ -137,6 +136,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */