diff --git a/modules/juce_core/maths/juce_MathsFunctions.h b/modules/juce_core/maths/juce_MathsFunctions.h index a4dd50956b..bd8f324b99 100644 --- a/modules/juce_core/maths/juce_MathsFunctions.h +++ b/modules/juce_core/maths/juce_MathsFunctions.h @@ -367,7 +367,7 @@ struct MathConstants static const FloatType euler; /** A predfined value for sqrt(2) */ - static constexpr FloatType sqrt2; + static const FloatType sqrt2; }; template