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

Fix some LLVM 17 compiler warnings

This commit is contained in:
Tom Poole 2023-09-21 14:48:07 +01:00
parent 951b873c14
commit 2fb19ffd8f
176 changed files with 867 additions and 894 deletions

View file

@ -54,7 +54,7 @@
is enabled. It contains an icon that can be used to show the side panel containing
the menu.
*/
struct BurgerMenuHeader : public Component
struct BurgerMenuHeader final : public Component
{
BurgerMenuHeader (SidePanel& sp)
: sidePanel (sp)
@ -120,9 +120,9 @@ private:
};
//==============================================================================
class MenusDemo : public Component,
public ApplicationCommandTarget,
public MenuBarModel
class MenusDemo final : public Component,
public ApplicationCommandTarget,
public MenuBarModel
{
public:
//==============================================================================
@ -341,8 +341,8 @@ private:
Command messages that aren't handled in the main component will be passed
to this class to respond to.
*/
class OuterCommandTarget : public Component,
public ApplicationCommandTarget
class OuterCommandTarget final : public Component,
public ApplicationCommandTarget
{
public:
OuterCommandTarget (ApplicationCommandManager& m)
@ -430,8 +430,8 @@ private:
Command messages that aren't handled in the OuterCommandTarget will be passed
to this class to respond to.
*/
struct InnerCommandTarget : public Component,
public ApplicationCommandTarget
struct InnerCommandTarget final : public Component,
public ApplicationCommandTarget
{
InnerCommandTarget (ApplicationCommandManager& m)
: commandManager (m)