From: inv Date: Fri, 20 Jul 2012 10:14:08 +0000 (+0000) Subject: Fix compilation on Debian X-Git-Tag: V6_6_0a1~234 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2e7ef1458f0bad76710026a5b8d3746d38fe5a6;p=modules%2Fsmesh.git Fix compilation on Debian - typedef SMDS_SetIterator< const _QuadFaceGrid&, TChildren::const_iterator > TChildIterator; + typedef SMDS_SetIterator< const _QuadFaceGrid&, + TChildren::const_iterator, + SMDS::SimpleAccessor, + SMDS::PassAllValueFilter<_QuadFaceGrid> > + TChildIterator; --- diff --git a/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx b/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx index c6a0f0c32..51ebc9fd8 100644 --- a/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx +++ b/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx @@ -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, + SMDS::PassAllValueFilter<_QuadFaceGrid> > + TChildIterator; TChildIterator GetChildren() const { return TChildIterator( myChildren.begin(), myChildren.end()); }