Salome HOME
Fix of a compilation problem
authormpv <mpv@opencascade.com>
Mon, 19 Nov 2018 07:29:23 +0000 (10:29 +0300)
committermpv <mpv@opencascade.com>
Mon, 19 Nov 2018 08:45:52 +0000 (11:45 +0300)
src/Selector/Selector_Algo.cpp

index 50e652a6366c2ba3895d3f7ff35b7688c0e4c1e7..0901da33df4eac59c700ec4e17038152a6e23cd7 100644 (file)
@@ -120,7 +120,7 @@ Selector_Algo* Selector_Algo::select(const TopoDS_Shape theContext, const TopoDS
       if (aContainer->select(theContext, theValue))
         return aContainer;
       delete aContainer;
-      return false;
+      return NULL;
     }
     Selector_Intersect* anIntersect = new Selector_Intersect;
     SET_ALGO_FLAGS(anIntersect);
@@ -131,7 +131,7 @@ Selector_Algo* Selector_Algo::select(const TopoDS_Shape theContext, const TopoDS
     }
     if (!theUseNeighbors) {
       delete anIntersect;
-      return false;
+      return NULL;
     }
     // searching by neighbors
     Selector_FilterByNeighbors* aNBs = new Selector_FilterByNeighbors;
@@ -200,7 +200,7 @@ Selector_Algo* Selector_Algo::select(const TopoDS_Shape theContext, const TopoDS
     }
     if (!theUseNeighbors) {
       delete aModify;
-      return false;
+      return NULL;
     }
     // searching by neighbors
     Selector_FilterByNeighbors* aNBs = new Selector_FilterByNeighbors;