]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0022467: EDF GEOM: Salome crashes at GEOM calling
authorapl <apl@opencascade.com>
Wed, 26 Mar 2014 08:14:00 +0000 (12:14 +0400)
committerapl <apl@opencascade.com>
Wed, 26 Mar 2014 08:14:00 +0000 (12:14 +0400)
Corrected order of inclusions for OCCT versions macro

src/OCCViewer/OCCViewer_ViewPort3d.cxx
src/OCCViewer/OCCViewer_ViewPort3d.h

index 328090d6038df064d096c772e996de48bae3e3af..6a0e713c45cf16ecb63fdfb05ef625cdd77b07f9 100755 (executable)
@@ -26,8 +26,6 @@
 #include "OCCViewer_ViewWindow.h"
 #include "OCCViewer_ViewModel.h"
 
-#include <Basics_OCCTVersion.hxx>
-
 #include <SUIT_ViewManager.h>
 #include <SUIT_ViewModel.h>
 
index 57b95886608ab00caafb52601b94d77dd857d7c6..f50a7bfc2dab596d8b7ce6a8b8d96d8fb423cfe4 100755 (executable)
@@ -23,6 +23,8 @@
 #ifndef OCCVIEWER_VIEWPORT3D_H
 #define OCCVIEWER_VIEWPORT3D_H
 
+#include <Basics_OCCTVersion.hxx>
+
 #include "OCCViewer_ViewPort.h"
 #include "Qtx.h"