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

@ -92,8 +92,8 @@
#endif
//==============================================================================
struct GraphEditorPanel::PinComponent : public Component,
public SettableTooltipClient
struct GraphEditorPanel::PinComponent final : public Component,
public SettableTooltipClient
{
PinComponent (GraphEditorPanel& p, AudioProcessorGraph::NodeAndChannel pinToUse, bool isIn)
: panel (p), graph (p.graph), pin (pinToUse), isInput (isIn)
@ -170,10 +170,10 @@ struct GraphEditorPanel::PinComponent : public Component,
};
//==============================================================================
struct GraphEditorPanel::PluginComponent : public Component,
public Timer,
private AudioProcessorParameter::Listener,
private AsyncUpdater
struct GraphEditorPanel::PluginComponent final : public Component,
public Timer,
private AudioProcessorParameter::Listener,
private AsyncUpdater
{
PluginComponent (GraphEditorPanel& p, AudioProcessorGraph::NodeID id) : panel (p), graph (p.graph), pluginID (id)
{
@ -554,8 +554,8 @@ struct GraphEditorPanel::PluginComponent : public Component,
//==============================================================================
struct GraphEditorPanel::ConnectorComponent : public Component,
public SettableTooltipClient
struct GraphEditorPanel::ConnectorComponent final : public Component,
public SettableTooltipClient
{
explicit ConnectorComponent (GraphEditorPanel& p)
: panel (p), graph (p.graph)
@ -1001,8 +1001,8 @@ void GraphEditorPanel::timerCallback()
}
//==============================================================================
struct GraphDocumentComponent::TooltipBar : public Component,
private Timer
struct GraphDocumentComponent::TooltipBar final : public Component,
private Timer
{
TooltipBar()
{
@ -1038,8 +1038,8 @@ struct GraphDocumentComponent::TooltipBar : public Component,
};
//==============================================================================
class GraphDocumentComponent::TitleBarComponent : public Component,
private Button::Listener
class GraphDocumentComponent::TitleBarComponent final : public Component,
private Button::Listener
{
public:
explicit TitleBarComponent (GraphDocumentComponent& graphDocumentComponent)
@ -1134,9 +1134,9 @@ private:
};
//==============================================================================
struct GraphDocumentComponent::PluginListBoxModel : public ListBoxModel,
public ChangeListener,
public MouseListener
struct GraphDocumentComponent::PluginListBoxModel final : public ListBoxModel,
public ChangeListener,
public MouseListener
{
PluginListBoxModel (ListBox& lb, KnownPluginList& kpl)
: owner (lb),