1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024710: Avoid including Handle_Class.hxx headers except where necessary

Includes of Handle*.hxx headers replaced by include of corresponding class (where possible without redesign of the classes).

Minor correction against compiler warning (vc10 64-bit) in BOPAlgo

Remove double header inclusions

Correction of minor mistake
This commit is contained in:
abv
2014-03-13 14:21:41 +04:00
committed by bugmaster
parent 519d35d81e
commit cb389a77e4
82 changed files with 114 additions and 167 deletions

View File

@@ -115,8 +115,8 @@ class BOPAlgo_EdgeEdgeFunctor {
: myPVEE(&aVEE) {
}
//
void operator()( const flexible_range<Standard_Size>& aBR ) const{
Standard_Size i, iBeg, iEnd;
void operator()( const flexible_range<Standard_Integer>& aBR ) const{
Standard_Integer i, iBeg, iEnd;
//
BOPAlgo_VectorOfEdgeEdge& aVEE=*myPVEE;
//
@@ -142,13 +142,13 @@ class BOPAlgo_EdgeEdgeCnt {
BOPAlgo_VectorOfEdgeEdge& aVEdgeEdge) {
//
BOPAlgo_EdgeEdgeFunctor aEEF(aVEdgeEdge);
Standard_Size aNbEE=aVEdgeEdge.Extent();
Standard_Integer aNbEE=aVEdgeEdge.Extent();
//
if (bRunParallel) {
flexible_for(flexible_range<Standard_Size>(0,aNbEE), aEEF);
flexible_for(flexible_range<Standard_Integer>(0,aNbEE), aEEF);
}
else {
aEEF.operator()(flexible_range<Standard_Size>(0,aNbEE));
aEEF.operator()(flexible_range<Standard_Integer>(0,aNbEE));
}
}
};