]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
PAL10720: Portability gcc4.0.1. Fix from Erwan ADAM.
authorjfa <jfa@opencascade.com>
Thu, 1 Dec 2005 12:41:40 +0000 (12:41 +0000)
committerjfa <jfa@opencascade.com>
Thu, 1 Dec 2005 12:41:40 +0000 (12:41 +0000)
src/VISU_I/VISU_ViewManager_i.cc

index 3463d586d39b8920bd78d47d33229e8aaee139ff..875076e1d696e9dee57115618c3333e8c96c27f2 100644 (file)
@@ -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)
     {}