]> OCCT Git - occt-copy.git/commitdiff
Fix compiler issues after extracting commits for OCCT 6.7.1
authorabv <abv@opencascade.com>
Tue, 25 Mar 2014 15:12:59 +0000 (19:12 +0400)
committerabv <abv@opencascade.com>
Tue, 25 Mar 2014 15:12:59 +0000 (19:12 +0400)
src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx
src/Draw/Draw_Debug.cxx

index d2f76b1dd5fc9040f4be0bc399d23de79a5c4846..dca01224fee4ff9b1fa01b7cf072464fddbb1265 100644 (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));
     }
   }
 };
index 2bf952edb121d62aeaf3c504672df798ff4cdb89..2541abc4e34511ff0bfc5d439131caca3021331b 100644 (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>