Skip to content

Commit

Permalink
Removed some unnecessary virtual keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
ed95 committed Apr 27, 2021
1 parent bd17993 commit a8aafed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ class JuceVST3EditController : public Vst::EditController,
info.flags = Vst::ParameterInfo::kIsProgramChange | Vst::ParameterInfo::kCanAutomate;
}

virtual ~ProgramChangeParameter() override = default;
~ProgramChangeParameter() override = default;

bool setNormalized (Vst::ParamValue v) override
{
Expand Down
8 changes: 4 additions & 4 deletions modules/juce_audio_utils/gui/juce_AudioAppComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class JUCE_API AudioAppComponent : public Component,
is needed by sources such as tone generators.
@see releaseResources, getNextAudioBlock
*/
virtual void prepareToPlay (int samplesPerBlockExpected,
double sampleRate) override = 0;
void prepareToPlay (int samplesPerBlockExpected,
double sampleRate) override = 0;

/** Allows the source to release anything it no longer needs after playback has stopped.
Expand All @@ -97,7 +97,7 @@ class JUCE_API AudioAppComponent : public Component,
@see prepareToPlay, getNextAudioBlock
*/
virtual void releaseResources() override = 0;
void releaseResources() override = 0;

/** Called repeatedly to fetch subsequent blocks of audio data.
Expand All @@ -111,7 +111,7 @@ class JUCE_API AudioAppComponent : public Component,
@see AudioSourceChannelInfo, prepareToPlay, releaseResources
*/
virtual void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill) override = 0;
void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill) override = 0;

/** Shuts down the audio device and clears the audio source.
Expand Down
2 changes: 1 addition & 1 deletion modules/juce_events/messages/juce_CallbackMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class JUCE_API CallbackMessage : public MessageManager::MessageBase
Note that like all other messages, this object will be deleted immediately
after this method has been invoked.
*/
virtual void messageCallback() override = 0;
void messageCallback() override = 0;

private:
// Avoid the leak-detector because for plugins, the host can unload our DLL with undelivered
Expand Down

0 comments on commit a8aafed

Please sign in to comment.