From 63cc0422991d1a797e40bf7d9b9a11661dfcb068 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 15 Oct 2022 19:11:06 +0200 Subject: [PATCH] [FEM] HypothesisPy.cpp: fox compiler warning - see https://forum.freecadweb.org/viewtopic.php?p=633192#p633192 --- src/Mod/Fem/App/HypothesisPy.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Fem/App/HypothesisPy.cpp b/src/Mod/Fem/App/HypothesisPy.cpp index dd1949d3da..b2a6640e94 100755 --- a/src/Mod/Fem/App/HypothesisPy.cpp +++ b/src/Mod/Fem/App/HypothesisPy.cpp @@ -22,6 +22,10 @@ #include "PreCompiled.h" +// HypothesisPy.h must be included as first file to avoid compiler warning, +// see: https://forum.freecadweb.org/viewtopic.php?p=633192#p633192 +#include "HypothesisPy.h" + #ifndef _PreComp_ # include @@ -64,7 +68,6 @@ #include #include -#include "HypothesisPy.h" #include "FemMeshPy.h"