From: mpv Date: Wed, 8 Jun 2005 04:27:58 +0000 (+0000) Subject: Porting to Mandrake 10.1 and new products: X-Git-Tag: T2_2_4a~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0c66284c81d8bb10a8819cad3ea61f72c7f045ae;p=modules%2Fkernel.git Porting to Mandrake 10.1 and new products: new OCC 5.2.3 and new compiler gcc 3.4.1 compatibility: do not use copy constructors for TCollection classes --- diff --git a/src/OCCViewer/OCCViewer_Viewer3d.cxx b/src/OCCViewer/OCCViewer_Viewer3d.cxx index c79b20136..245332b39 100644 --- a/src/OCCViewer/OCCViewer_Viewer3d.cxx +++ b/src/OCCViewer/OCCViewer_Viewer3d.cxx @@ -796,8 +796,13 @@ void OCCViewer_Viewer3d::localSelectionDone( const bool /*bAdded*/ ) } else { - aMapsOfShapes.Bind( anObj, TopTools_IndexedMapOfShape() ); - aMapsOfIndexes.Bind( anObj, TColStd_MapOfInteger() ); + // mpv: proting to gcc 3.4.1 and OCC 5.2.3 + //aMapsOfShapes.Bind( anObj, TopTools_IndexedMapOfShape() ); + //aMapsOfIndexes.Bind( anObj, TColStd_MapOfInteger() ); + TopTools_IndexedMapOfShape empty1; + aMapsOfShapes.Bind( anObj, empty1 ); + TColStd_MapOfInteger empty2; + aMapsOfIndexes.Bind( anObj, empty2 ); } }