1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

Fix compiler issues after extracting commits for OCCT 6.7.1

This commit is contained in:
abv 2014-03-25 19:12:59 +04:00
parent 012f20ac52
commit 93c87d6d1d
2 changed files with 6 additions and 5 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));
}
}
};

View File

@ -14,6 +14,7 @@
// commercial license or contractual agreement.
#include <DBRep.hxx>
#include <Draw_Interpretor.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_Failure.hxx>