0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / LocOpe / LocOpe_Spliter.lxx
index e3100fa..dc47c53 100644 (file)
@@ -77,7 +77,7 @@ inline const TopoDS_Shape& LocOpe_Spliter::Shape() const
 
 inline const TopoDS_Shape& LocOpe_Spliter::ResultingShape() const
 {
-  if (!myDone) {StdFail_NotDone::Raise();}
+  if (!myDone) {throw StdFail_NotDone();}
   return myRes;
 }