From: ptv Date: Thu, 1 Dec 2005 12:11:20 +0000 (+0000) Subject: disable optimisation for ::createActions() to avoid exception in release mode on... X-Git-Tag: BR_3_1_0_deb~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=930e21dfba074cbec1ac0867f6767d29f9e26ddf;p=modules%2Fgui.git disable optimisation for ::createActions() to avoid exception in release mode on creation of new VTK viewer. --- diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 14e36c30d..fe9fb7cc9 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -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