From d2267420d23deec26b44f15e6b8a88e4e027fded Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 19 Nov 2018 10:29:23 +0300 Subject: [PATCH] Fix of a compilation problem --- src/Selector/Selector_Algo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Selector/Selector_Algo.cpp b/src/Selector/Selector_Algo.cpp index 50e652a63..0901da33d 100644 --- a/src/Selector/Selector_Algo.cpp +++ b/src/Selector/Selector_Algo.cpp @@ -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; -- 2.39.2