From: jfa Date: Thu, 1 Dec 2005 12:41:40 +0000 (+0000) Subject: PAL10720: Portability gcc4.0.1. Fix from Erwan ADAM. X-Git-Tag: T_2_2_7pre~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=17f8c13e20fc514202284b3682c9f1e58c24fd7d;p=modules%2Fvisu.git PAL10720: Portability gcc4.0.1. Fix from Erwan ADAM. --- diff --git a/src/VISU_I/VISU_ViewManager_i.cc b/src/VISU_I/VISU_ViewManager_i.cc index 3463d586..875076e1 100644 --- a/src/VISU_I/VISU_ViewManager_i.cc +++ b/src/VISU_I/VISU_ViewManager_i.cc @@ -794,7 +794,7 @@ namespace VISU{ class TEnbleGridEvent: public SALOME_Event{ public: - typedef void (Plot2d_ViewFrame::* TFun)(bool, const int, bool, const int, bool = true); + typedef void (Plot2d_ViewFrame::* TFun)(bool, const int, bool, const int, bool); TEnbleGridEvent(Plot2d_ViewFrame* theView, TFun theFun, CORBA::Boolean theMajor, CORBA::Long theNumMajor, CORBA::Boolean theMinor, CORBA::Long theNumMinor): @@ -829,7 +829,7 @@ namespace VISU{ class TSetScaleModeEvent: public SALOME_Event{ public: - typedef void (Plot2d_ViewFrame::* TFun)(const int, bool = true); + typedef void (Plot2d_ViewFrame::* TFun)(const int, bool); TSetScaleModeEvent(Plot2d_ViewFrame* theView, TFun theFun, int theScaling): myView(theView), myFun(theFun), myScaling(theScaling) {} @@ -863,7 +863,7 @@ namespace VISU{ class TSetTitleEvent: public SALOME_Event{ public: - typedef void (Plot2d_ViewFrame::* TFun)(bool, const QString&, bool = true); + typedef void (Plot2d_ViewFrame::* TFun)(bool, const QString&, bool); TSetTitleEvent(Plot2d_ViewFrame* theView, TFun theFun, const char* theTitle): myView(theView), myFun(theFun), myTitle(theTitle) {}