[FEM] HypothesisPy: add inclusion comment

- add comments to avoid in future cases like this: https://github.com/FreeCAD/FreeCAD/issues/7585#issuecomment-1280170176
- also include explicitly SMESH_Version.h as safe guard in case HypothesisPy.h might in future be included in a different position
This commit is contained in:
Uwe
2022-10-17 04:12:07 +02:00
parent 85b0fcf66d
commit 81143c17a1
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
#ifndef _PreComp_
# include <sstream>
# include <SMESH_Version.h> // needed for SMESH_VERSION_MAJOR
# include <StdMeshers_Arithmetic1D.hxx>
# include <StdMeshers_AutomaticLength.hxx>
# include <StdMeshers_CompositeSegment_1D.hxx>

View File

@@ -25,7 +25,7 @@
#include <CXX/Extensions.hxx>
#include <memory>
#include <SMESH_Version.h>
#include <SMESH_Version.h> // needed for SMESH_VERSION_MAJOR
class SMESH_Hypothesis;
class SMESH_Gen;