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

Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!

This commit is contained in:
jules 2017-10-09 12:38:06 +01:00
parent 6e23c4806b
commit 970eda679e
39 changed files with 68 additions and 68 deletions

View file

@ -32,7 +32,7 @@ namespace juce
@see FlexBox
*/
class JUCE_API FlexItem
class JUCE_API FlexItem final
{
public:
//==============================================================================
@ -111,7 +111,7 @@ public:
float maxHeight = (float) notAssigned; /**< The item's maximum height */
/** Represents a margin. */
struct Margin
struct Margin final
{
Margin() noexcept; /**< Creates a margin of size zero. */
Margin (float size) noexcept; /**< Creates a margin with this size on all sides. */