From: smh Date: Tue, 31 May 2005 05:53:13 +0000 (+0000) Subject: SMH: Fix for compilation with correct CASCADE X-Git-Tag: T3_0_0_a1~74 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57886dd1cb61045824b0e76e5f83cb6479aaca4c;p=modules%2Fgui.git SMH: Fix for compilation with correct CASCADE --- 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);