mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Remove unnecessary virtual keywords in final classes
This commit is contained in:
parent
5a02f5231d
commit
5d00156491
2 changed files with 11 additions and 11 deletions
|
|
@ -87,7 +87,7 @@ public:
|
||||||
bool moreThanOneInstanceAllowed() override { return true; }
|
bool moreThanOneInstanceAllowed() override { return true; }
|
||||||
void anotherInstanceStarted (const String&) override {}
|
void anotherInstanceStarted (const String&) override {}
|
||||||
|
|
||||||
virtual StandaloneFilterWindow* createWindow()
|
StandaloneFilterWindow* createWindow()
|
||||||
{
|
{
|
||||||
if (Desktop::getInstance().getDisplays().displays.isEmpty())
|
if (Desktop::getInstance().getDisplays().displays.isEmpty())
|
||||||
{
|
{
|
||||||
|
|
@ -101,7 +101,7 @@ public:
|
||||||
createPluginHolder());
|
createPluginHolder());
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual std::unique_ptr<StandalonePluginHolder> createPluginHolder()
|
std::unique_ptr<StandalonePluginHolder> createPluginHolder()
|
||||||
{
|
{
|
||||||
constexpr auto autoOpenMidiDevices =
|
constexpr auto autoOpenMidiDevices =
|
||||||
#if (JUCE_ANDROID || JUCE_IOS) && ! JUCE_DONT_AUTO_OPEN_MIDI_DEVICES_ON_MOBILE
|
#if (JUCE_ANDROID || JUCE_IOS) && ! JUCE_DONT_AUTO_OPEN_MIDI_DEVICES_ON_MOBILE
|
||||||
|
|
|
||||||
|
|
@ -608,8 +608,8 @@ struct VST3HostContext final : public Vst::IComponentHandler, // From VST V3.0.
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
struct ContextMenu final : public Vst::IContextMenu
|
struct ContextMenu final : public Vst::IContextMenu
|
||||||
{
|
{
|
||||||
ContextMenu (VST3PluginInstance& pluginInstance) : owner (pluginInstance) {}
|
explicit ContextMenu (VST3PluginInstance& pluginInstance) : owner (pluginInstance) {}
|
||||||
virtual ~ContextMenu() {}
|
~ContextMenu() = default;
|
||||||
|
|
||||||
JUCE_DECLARE_VST3_COM_REF_METHODS
|
JUCE_DECLARE_VST3_COM_REF_METHODS
|
||||||
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
||||||
|
|
@ -915,7 +915,7 @@ private:
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AttributeList() = default;
|
AttributeList() = default;
|
||||||
virtual ~AttributeList() = default;
|
~AttributeList() = default;
|
||||||
|
|
||||||
JUCE_DECLARE_VST3_COM_REF_METHODS
|
JUCE_DECLARE_VST3_COM_REF_METHODS
|
||||||
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
||||||
|
|
@ -1002,7 +1002,7 @@ private:
|
||||||
struct Message final : public Vst::IMessage
|
struct Message final : public Vst::IMessage
|
||||||
{
|
{
|
||||||
Message() = default;
|
Message() = default;
|
||||||
virtual ~Message() = default;
|
~Message() = default;
|
||||||
|
|
||||||
JUCE_DECLARE_VST3_COM_REF_METHODS
|
JUCE_DECLARE_VST3_COM_REF_METHODS
|
||||||
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
||||||
|
|
@ -2180,7 +2180,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~HostToClientParamQueue() = default;
|
~HostToClientParamQueue() = default;
|
||||||
|
|
||||||
JUCE_DECLARE_VST3_COM_REF_METHODS
|
JUCE_DECLARE_VST3_COM_REF_METHODS
|
||||||
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
||||||
|
|
@ -2285,7 +2285,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~ClientToHostParamQueue() = default;
|
~ClientToHostParamQueue() = default;
|
||||||
|
|
||||||
JUCE_DECLARE_VST3_COM_REF_METHODS
|
JUCE_DECLARE_VST3_COM_REF_METHODS
|
||||||
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
||||||
|
|
@ -2366,7 +2366,7 @@ class ParameterChanges final : public Vst::IParameterChanges
|
||||||
using Queues = std::vector<Entry*>;
|
using Queues = std::vector<Entry*>;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~ParameterChanges() = default;
|
~ParameterChanges() = default;
|
||||||
|
|
||||||
JUCE_DECLARE_VST3_COM_REF_METHODS
|
JUCE_DECLARE_VST3_COM_REF_METHODS
|
||||||
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
JUCE_DECLARE_VST3_COM_QUERY_METHODS
|
||||||
|
|
@ -3108,8 +3108,8 @@ public:
|
||||||
|
|
||||||
struct TrackPropertiesAttributeList final : public Vst::IAttributeList
|
struct TrackPropertiesAttributeList final : public Vst::IAttributeList
|
||||||
{
|
{
|
||||||
TrackPropertiesAttributeList (const TrackProperties& properties) : props (properties) {}
|
explicit TrackPropertiesAttributeList (const TrackProperties& properties) : props (properties) {}
|
||||||
virtual ~TrackPropertiesAttributeList() {}
|
~TrackPropertiesAttributeList() = default;
|
||||||
|
|
||||||
JUCE_DECLARE_VST3_COM_REF_METHODS
|
JUCE_DECLARE_VST3_COM_REF_METHODS
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue