0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / Blend / Blend_CSFunction.cxx
index a107a82..f434ef4 100644 (file)
@@ -54,6 +54,5 @@ Standard_Boolean Blend_CSFunction::Section (const Blend_Point& /*P*/,
 
 Standard_Real Blend_CSFunction::GetMinimalDistance() const
 {
-  Standard_NotImplemented::Raise("Blend_CSFunction::GetMinimalDistance");
-  return RealLast();
+  throw Standard_NotImplemented("Blend_CSFunction::GetMinimalDistance");
 }