]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
disable optimisation for ::createActions() to avoid exception in release mode on...
authorptv <ptv@opencascade.com>
Thu, 1 Dec 2005 12:11:20 +0000 (12:11 +0000)
committerptv <ptv@opencascade.com>
Thu, 1 Dec 2005 12:11:20 +0000 (12:11 +0000)
src/SVTK/SVTK_ViewWindow.cxx

index 14e36c30d2cbcf37ed06672a756975d7a0f6e3f5..fe9fb7cc9a9949f3725ee8385046145844d892be 100755 (executable)
@@ -204,6 +204,7 @@ SVTK_ViewWindow
 }
 
 //----------------------------------------------------------------------------
+//#pragma optimize( "", off )
 void
 SVTK_ViewWindow
 ::createActions()
@@ -314,6 +315,7 @@ SVTK_ViewWindow
   connect(aAction, SIGNAL(activated()), this, SLOT(onViewTrihedron()));
   myActionsMap[ ViewTrihedronId ] = aAction;
 }
+#pragma optimize( "", on )
 
 //----------------------------------------------------------------------------
 void