From: mpv Date: Mon, 19 Nov 2018 07:29:23 +0000 (+0300) Subject: Fix of a compilation problem X-Git-Tag: End2018~171 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7ce4d9764644819e6e55010ad0da785be853d557;p=modules%2Fshaper.git Fix of a compilation problem --- 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;