From a8de1d120ea6513d29c09cb9138973774fd97c4b Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 8 Jun 2005 05:08:53 +0000 Subject: [PATCH] Porting to Mandrake 10.1 and new products: new compiler gcc 3.4.1 --- src/OBJECT/SMESH_ActorDef.h | 2 +- src/SMESH_I/SMESH_Group_i.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OBJECT/SMESH_ActorDef.h b/src/OBJECT/SMESH_ActorDef.h index e6925d30e..279a3fac7 100644 --- a/src/OBJECT/SMESH_ActorDef.h +++ b/src/OBJECT/SMESH_ActorDef.h @@ -50,7 +50,7 @@ public: return *this; } TVTKSmartPtr& operator=(T* r){ vtkSmartPointer::operator=(r); return *this;} - T* Get() const { return GetPointer();} + T* Get() const { return this->GetPointer();} }; diff --git a/src/SMESH_I/SMESH_Group_i.hxx b/src/SMESH_I/SMESH_Group_i.hxx index 48fb1c036..b79509f14 100644 --- a/src/SMESH_I/SMESH_Group_i.hxx +++ b/src/SMESH_I/SMESH_Group_i.hxx @@ -37,7 +37,7 @@ #include "SALOME_GenericObj_i.hh" class SMESH_Mesh_i; -class ::SMESH_Group; +class SMESH_Group; class SMESHDS_GroupBase; // =========== @@ -70,7 +70,7 @@ class SMESH_GroupBase_i: // Internal C++ interface int GetLocalID() const { return myLocalID; } SMESH_Mesh_i* GetMeshServant() const { return myMeshServant; } - ::SMESH_Group* GetSmeshGroup() const; + SMESH_Group* GetSmeshGroup() const; SMESHDS_GroupBase* GetGroupDS() const; private: