]> SALOME platform Git repositories - modules/hexablock.git/blobdiff - src/HEXABLOCKGUI/HEXABLOCKGUI_SalomeTools.cxx
Salome HOME
bos #20256: [CEA 18523] Porting SMESH to int 64 bits
[modules/hexablock.git] / src / HEXABLOCKGUI / HEXABLOCKGUI_SalomeTools.cxx
index 1c1346a788addf7148bd444009ed05523ad046f2..ba1bf4b082777afd49ce32bb9860e901d4f18788 100644 (file)
@@ -126,17 +126,17 @@ namespace GUI
 
                theName = "";
 
-               TColStd_IndexedMapOfInteger aMapIndex;
+               SVTK_TIndexedMapOfVtkId aMapIndex;
                theSelector->GetIndex(theIO,aMapIndex);
 
                typedef std::set<int> TIdContainer;
 
-               std::set<int> anIdContainer;
+               std::set<vtkIdType> anIdContainer;
 
-               for( int i = 1; i <= aMapIndex.Extent(); i++)
+               for( vtkIdType i = 1; i <= aMapIndex.Extent(); i++)
                        anIdContainer.insert(aMapIndex(i));
 
-               std::set<int>::const_iterator anIter = anIdContainer.begin();
+               std::set<vtkIdType>::const_iterator anIter = anIdContainer.begin();
 
                for( ; anIter != anIdContainer.end(); anIter++)
                        theName += QString(" %1").arg(*anIter);