From 9e867255d314cf5b71d4491a322acebea408bc8f Mon Sep 17 00:00:00 2001 From: Noah Dayan Date: Thu, 22 Mar 2018 13:06:20 +0000 Subject: [PATCH] Fixed doxygen deprecated bug --- modules/juce_core/maths/juce_MathsFunctions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_core/maths/juce_MathsFunctions.h b/modules/juce_core/maths/juce_MathsFunctions.h index 01962e1211..83d2ce225b 100644 --- a/modules/juce_core/maths/juce_MathsFunctions.h +++ b/modules/juce_core/maths/juce_MathsFunctions.h @@ -387,7 +387,7 @@ const FloatType MathConstants::sqrt2 = static_cast (1.4142 #endif - +#ifndef DOXYGEN /** A double-precision constant for pi. @deprecated This is deprecated in favour of MathConstants::pi. The reason is that "double_Pi" was a confusing name, and many people misused it, @@ -401,7 +401,7 @@ const JUCE_CONSTEXPR double double_Pi = MathConstants::pi; wrongly thinking it meant 2 * pi ! */ const JUCE_CONSTEXPR float float_Pi = MathConstants::pi; - +#endif /** Converts an angle in degrees to radians. */ template