[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:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user