From: apo Date: Fri, 28 Jan 2005 12:51:37 +0000 (+0000) Subject: [Bug PAL7900] g++ 3.3 compatibility X-Git-Tag: V2_2_0~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=88d7f9606ba7f4036e2f86470e632c4af5d5b820;p=modules%2Fkernel.git [Bug PAL7900] g++ 3.3 compatibility There are 3 other occurences of ::data_type in the same file. --- diff --git a/src/SALOMEDS/SALOMEDS_SObject_i.cxx b/src/SALOMEDS/SALOMEDS_SObject_i.cxx index 1d95e8bd1..dc4426a71 100644 --- a/src/SALOMEDS/SALOMEDS_SObject_i.cxx +++ b/src/SALOMEDS/SALOMEDS_SObject_i.cxx @@ -223,7 +223,7 @@ namespace SALOMEDS{ { TAttrID2FunMap::const_iterator anIter = __AttrID2FunMap__.find(theType); if(anIter != __AttrID2FunMap__.end()){ - const TAttrID2FunMap::data_type& aValue = anIter->second; + const TAttrID2FunMap::mapped_type& aValue = anIter->second; return aValue.myGetGUID(); } // create tree node GUID by name @@ -575,7 +575,7 @@ SALOMEDS_SObject_i::_CreateGenAttribute(const Handle(TDF_Attribute)& theAttr, SALOMEDS_GenericAttribute_i* anAttr; TAttrID2FunMap::const_iterator anIter = __AttrID2FunMap__.find(theType); if(anIter != __AttrID2FunMap__.end()){ - const TAttrID2FunMap::data_type& aValue = anIter->second; + const TAttrID2FunMap::mapped_type& aValue = anIter->second; if(aValue.myIsCheckLockedStudy()) _study->CheckLocked(); @@ -664,7 +664,7 @@ Handle(TDF_Attribute) Handle(TDF_Attribute) anAttr; TAttrID2FunMap::const_iterator anIter = __AttrID2FunMap__.find(theType); if(anIter != __AttrID2FunMap__.end()){ - const TAttrID2FunMap::data_type& aValue = anIter->second; + const TAttrID2FunMap::mapped_type& aValue = anIter->second; if(aValue.myIsCheckLockedStudy()) _study->CheckLocked();