diff --git a/src/Mod/Fem/App/HypothesisPy.cpp b/src/Mod/Fem/App/HypothesisPy.cpp index c02d5ed235..5dd5c78867 100644 --- a/src/Mod/Fem/App/HypothesisPy.cpp +++ b/src/Mod/Fem/App/HypothesisPy.cpp @@ -26,8 +26,9 @@ // see: https://forum.freecad.org/viewtopic.php?p=633192#p633192 #include "HypothesisPy.h" -#ifndef _PreComp_ #include // needed for SMESH_VERSION_MAJOR + +#ifndef _PreComp_ #include #include #include @@ -1180,8 +1181,8 @@ StdMeshers_MEFISTO_2DPy::StdMeshers_MEFISTO_2DPy(int hypId, int studyId, SMESH_G : SMESH_HypothesisPyBase(new StdMeshers_MEFISTO_2D(hypId, studyId, gen)) {} #endif -#endif StdMeshers_MEFISTO_2DPy::~StdMeshers_MEFISTO_2DPy() = default; +#endif // ---------------------------------------------------------------------------