From 57886dd1cb61045824b0e76e5f83cb6479aaca4c Mon Sep 17 00:00:00 2001 From: smh Date: Tue, 31 May 2005 05:53:13 +0000 Subject: [PATCH] SMH: Fix for compilation with correct CASCADE --- src/SVTK/SVTK_Selector.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/SVTK/SVTK_Selector.cxx b/src/SVTK/SVTK_Selector.cxx index 00e223571..63a28eab0 100644 --- a/src/SVTK/SVTK_Selector.cxx +++ b/src/SVTK/SVTK_Selector.cxx @@ -26,6 +26,7 @@ // Module : SALOME // $Header$ + #include #include @@ -36,7 +37,6 @@ #include "SALOME_ListIteratorOfListIO.hxx" #include "SVTK_Selector.h" - #include "utilities.h" SVTK_Selector @@ -247,8 +247,9 @@ SVTK_Selector const TColStd_IndexedMapOfInteger& theIndices, bool theIsModeShift) { + TColStd_IndexedMapOfInteger empty; if(!myMapIOSubIndex.IsBound(theIO)) - myMapIOSubIndex.Bind(theIO,TColStd_IndexedMapOfInteger()); + myMapIOSubIndex.Bind(theIO, empty); TColStd_IndexedMapOfInteger& aMapIndex = myMapIOSubIndex.ChangeFind(theIO); aMapIndex = theIndices; @@ -271,8 +272,9 @@ SVTK_Selector const TColStd_MapOfInteger& theIndices, bool theIsModeShift) { + TColStd_IndexedMapOfInteger empty; if(!myMapIOSubIndex.IsBound(theIO)) - myMapIOSubIndex.Bind(theIO,TColStd_IndexedMapOfInteger()); + myMapIOSubIndex.Bind(theIO, empty); TColStd_IndexedMapOfInteger& aMapIndex = myMapIOSubIndex.ChangeFind(theIO); @@ -297,8 +299,9 @@ SVTK_Selector int theIndex, bool theIsModeShift) { + TColStd_IndexedMapOfInteger empty; if(!myMapIOSubIndex.IsBound(theIO)) - myMapIOSubIndex.Bind(theIO,TColStd_IndexedMapOfInteger()); + myMapIOSubIndex.Bind(theIO, empty); TColStd_IndexedMapOfInteger& aMapIndex = myMapIOSubIndex.ChangeFind(theIO); -- 2.39.2