From 17f8c13e20fc514202284b3682c9f1e58c24fd7d Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 1 Dec 2005 12:41:40 +0000 Subject: [PATCH] PAL10720: Portability gcc4.0.1. Fix from Erwan ADAM. --- src/VISU_I/VISU_ViewManager_i.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {} -- 2.39.2