1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0

This commit is contained in:
jules 2018-05-09 16:47:21 +01:00
parent b3e76c7a41
commit 30f6206be9
19 changed files with 25 additions and 29 deletions

View file

@ -84,7 +84,7 @@ bool AffineTransform::isIdentity() const noexcept
&& mat11 == 1.0f;
}
JUCE_DECLARE_DEPRECATED_STATIC (const AffineTransform AffineTransform::identity);
JUCE_DECLARE_DEPRECATED_STATIC (const AffineTransform AffineTransform::identity;)
//==============================================================================
AffineTransform AffineTransform::followedBy (const AffineTransform& other) const noexcept

View file

@ -273,7 +273,7 @@ public:
/* A ready-to-use identity transform - now depracated.
@deprecated If you need an identity transform, just use AffineTransform() or {}.
*/
JUCE_DEPRECATED_STATIC (static const AffineTransform identity);
JUCE_DEPRECATED_STATIC (static const AffineTransform identity;)
//==============================================================================
/* The transform matrix is: