From 88d7f9606ba7f4036e2f86470e632c4af5d5b820 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 28 Jan 2005 12:51:37 +0000 Subject: [PATCH 1/1] [Bug PAL7900] g++ 3.3 compatibility There are 3 other occurences of ::data_type in the same file. --- src/SALOMEDS/SALOMEDS_SObject_i.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.39.2