]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix compilation on Debian
authorinv <inv@opencascade.com>
Fri, 20 Jul 2012 10:14:08 +0000 (10:14 +0000)
committerinv <inv@opencascade.com>
Fri, 20 Jul 2012 10:14:08 +0000 (10:14 +0000)
-  typedef SMDS_SetIterator< const _QuadFaceGrid&, TChildren::const_iterator > TChildIterator;
+  typedef SMDS_SetIterator< const _QuadFaceGrid&,
+                            TChildren::const_iterator,
+                            SMDS::SimpleAccessor<const _QuadFaceGrid&,TChildren::const_iterator>,
+                            SMDS::PassAllValueFilter<_QuadFaceGrid> >
+    TChildIterator;

src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx

index c6a0f0c32c1ec962c03b6ac2695bd94a6a82ba9c..51ebc9fd8155f064118308a2e106a55bef88e45c 100644 (file)
@@ -164,7 +164,11 @@ public: //** Methods to find and orient faces of 6 sides of the box **//
 
   int NbChildren() const { return myChildren.size(); }
 
-  typedef SMDS_SetIterator< const _QuadFaceGrid&, TChildren::const_iterator > TChildIterator;
+  typedef SMDS_SetIterator< const _QuadFaceGrid&,
+                            TChildren::const_iterator,
+                            SMDS::SimpleAccessor<const _QuadFaceGrid&,TChildren::const_iterator>,
+                            SMDS::PassAllValueFilter<_QuadFaceGrid> >
+    TChildIterator;
 
   TChildIterator GetChildren() const
   { return TChildIterator( myChildren.begin(), myChildren.end()); }