Skip to content

Commit c57a83c

Browse files
Neumann-Achennes
authored andcommitted
move #include <SMESH_Version.h> out of ifndef _PreComp_
fix position of #endif for MEFISTO removal
1 parent e9b43a0 commit c57a83c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Mod/Fem/App/HypothesisPy.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@
2626
// see: https://forum.freecad.org/viewtopic.php?p=633192#p633192
2727
#include "HypothesisPy.h"
2828

29-
#ifndef _PreComp_
3029
#include <SMESH_Version.h> // needed for SMESH_VERSION_MAJOR
30+
31+
#ifndef _PreComp_
3132
#include <StdMeshers_Arithmetic1D.hxx>
3233
#include <StdMeshers_AutomaticLength.hxx>
3334
#include <StdMeshers_CompositeSegment_1D.hxx>
@@ -1180,8 +1181,8 @@ StdMeshers_MEFISTO_2DPy::StdMeshers_MEFISTO_2DPy(int hypId, int studyId, SMESH_G
11801181
: SMESH_HypothesisPyBase(new StdMeshers_MEFISTO_2D(hypId, studyId, gen))
11811182
{}
11821183
#endif
1183-
#endif
11841184
StdMeshers_MEFISTO_2DPy::~StdMeshers_MEFISTO_2DPy() = default;
1185+
#endif
11851186

11861187
// ---------------------------------------------------------------------------
11871188

0 commit comments

Comments
 (0)