From afe9577aacdf84b1568cb46f5ab6b09c469eb38b Mon Sep 17 00:00:00 2001 From: apl Date: Wed, 26 Mar 2014 12:14:00 +0400 Subject: [PATCH] 0022467: EDF GEOM: Salome crashes at GEOM calling Corrected order of inclusions for OCCT versions macro --- src/OCCViewer/OCCViewer_ViewPort3d.cxx | 2 -- src/OCCViewer/OCCViewer_ViewPort3d.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OCCViewer/OCCViewer_ViewPort3d.cxx b/src/OCCViewer/OCCViewer_ViewPort3d.cxx index 328090d60..6a0e713c4 100755 --- a/src/OCCViewer/OCCViewer_ViewPort3d.cxx +++ b/src/OCCViewer/OCCViewer_ViewPort3d.cxx @@ -26,8 +26,6 @@ #include "OCCViewer_ViewWindow.h" #include "OCCViewer_ViewModel.h" -#include - #include #include diff --git a/src/OCCViewer/OCCViewer_ViewPort3d.h b/src/OCCViewer/OCCViewer_ViewPort3d.h index 57b958866..f50a7bfc2 100755 --- a/src/OCCViewer/OCCViewer_ViewPort3d.h +++ b/src/OCCViewer/OCCViewer_ViewPort3d.h @@ -23,6 +23,8 @@ #ifndef OCCVIEWER_VIEWPORT3D_H #define OCCVIEWER_VIEWPORT3D_H +#include + #include "OCCViewer_ViewPort.h" #include "Qtx.h" -- 2.39.2