0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / Blend / Blend_SurfRstFunction.cxx
index 706e459..b49a87e 100644 (file)
@@ -36,7 +36,4 @@ const gp_Pnt& Blend_SurfRstFunction::Pnt2() const
 }
 
 Standard_Real Blend_SurfRstFunction::GetMinimalDistance() const
-{
-  Standard_NotImplemented::Raise("Blend_SurfRstFunction::GetMinimalDistance");
-  return RealLast();
-}
+{  throw Standard_NotImplemented("Blend_SurfRstFunction::GetMinimalDistance");}