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:
parent
951b873c14
commit
2fb19ffd8f
176 changed files with 867 additions and 894 deletions
|
|
@ -38,7 +38,7 @@ struct DSPDemoParameterBase : public ChangeBroadcaster
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
struct SliderParameter : public DSPDemoParameterBase
|
||||
struct SliderParameter final : public DSPDemoParameterBase
|
||||
{
|
||||
SliderParameter (Range<double> range, double skew, double initialValue,
|
||||
const String& labelName, const String& suffix = {})
|
||||
|
|
@ -66,7 +66,7 @@ private:
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
struct ChoiceParameter : public DSPDemoParameterBase
|
||||
struct ChoiceParameter final : public DSPDemoParameterBase
|
||||
{
|
||||
ChoiceParameter (const StringArray& options, int initialId, const String& labelName)
|
||||
: DSPDemoParameterBase (labelName)
|
||||
|
|
@ -89,11 +89,11 @@ private:
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
class AudioThumbnailComponent : public Component,
|
||||
public FileDragAndDropTarget,
|
||||
public ChangeBroadcaster,
|
||||
private ChangeListener,
|
||||
private Timer
|
||||
class AudioThumbnailComponent final : public Component,
|
||||
public FileDragAndDropTarget,
|
||||
public ChangeBroadcaster,
|
||||
private ChangeListener,
|
||||
private Timer
|
||||
{
|
||||
public:
|
||||
AudioThumbnailComponent (AudioDeviceManager& adm, AudioFormatManager& afm)
|
||||
|
|
@ -217,7 +217,7 @@ private:
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
class DemoParametersComponent : public Component
|
||||
class DemoParametersComponent final : public Component
|
||||
{
|
||||
public:
|
||||
DemoParametersComponent (const std::vector<DSPDemoParameterBase*>& demoParams)
|
||||
|
|
@ -270,9 +270,9 @@ private:
|
|||
|
||||
//==============================================================================
|
||||
template <class DemoType>
|
||||
struct DSPDemo : public AudioSource,
|
||||
public ProcessorWrapper<DemoType>,
|
||||
private ChangeListener
|
||||
struct DSPDemo final : public AudioSource,
|
||||
public ProcessorWrapper<DemoType>,
|
||||
private ChangeListener
|
||||
{
|
||||
DSPDemo (AudioSource& input)
|
||||
: inputSource (&input)
|
||||
|
|
@ -327,10 +327,10 @@ struct DSPDemo : public AudioSource,
|
|||
|
||||
//==============================================================================
|
||||
template <class DemoType>
|
||||
class AudioFileReaderComponent : public Component,
|
||||
private TimeSliceThread,
|
||||
private Value::Listener,
|
||||
private ChangeListener
|
||||
class AudioFileReaderComponent final : public Component,
|
||||
private TimeSliceThread,
|
||||
private Value::Listener,
|
||||
private ChangeListener
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
|
@ -496,9 +496,9 @@ public:
|
|||
|
||||
private:
|
||||
//==============================================================================
|
||||
class AudioPlayerHeader : public Component,
|
||||
private ChangeListener,
|
||||
private Value::Listener
|
||||
class AudioPlayerHeader final : public Component,
|
||||
private ChangeListener,
|
||||
private Value::Listener
|
||||
{
|
||||
public:
|
||||
AudioPlayerHeader (AudioDeviceManager& adm,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue