From 59907db19d015fc0cf14e79f7662e0eefd1e964f Mon Sep 17 00:00:00 2001 From: Pasukhin Dmitry Date: Sun, 30 Nov 2025 09:08:58 +0000 Subject: [PATCH] Foundation Classes - Remove [[nodiscard]] attribute from Deprecated Method (#865) --- src/FoundationClasses/TKernel/Standard/Standard_Real.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FoundationClasses/TKernel/Standard/Standard_Real.hxx b/src/FoundationClasses/TKernel/Standard/Standard_Real.hxx index e16d62b2c8..7205b82853 100644 --- a/src/FoundationClasses/TKernel/Standard/Standard_Real.hxx +++ b/src/FoundationClasses/TKernel/Standard/Standard_Real.hxx @@ -41,7 +41,7 @@ inline double ACos(const double theValue) //! The max error is about 1 degree near Value=0. //! NOTE: Avoid using this function in new code, it presumably slower then std::acos. Standard_DEPRECATED("Deprecated, use std::acos instead") -Standard_EXPORT [[nodiscard]] double ACosApprox(const double theValue); +Standard_EXPORT double ACosApprox(const double theValue); //! Returns the value of the arc sine of a @p theValue. Standard_DEPRECATED("This function duplicates std::asin and will be removed in future releases. " -- 2.39.5