move #include <SMESH_Version.h> out of ifndef _PreComp_
fix position of #endif for MEFISTO removal
This commit is contained in:
committed by
Chris Hennes
parent
e9b43a0f83
commit
c57a83cb4f
@@ -26,8 +26,9 @@
|
||||
// see: https://forum.freecad.org/viewtopic.php?p=633192#p633192
|
||||
#include "HypothesisPy.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#include <SMESH_Version.h> // needed for SMESH_VERSION_MAJOR
|
||||
|
||||
#ifndef _PreComp_
|
||||
#include <StdMeshers_Arithmetic1D.hxx>
|
||||
#include <StdMeshers_AutomaticLength.hxx>
|
||||
#include <StdMeshers_CompositeSegment_1D.hxx>
|
||||
@@ -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
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user