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

Fixed some compiler warnings

This commit is contained in:
Tom Poole 2019-07-09 09:40:31 +01:00
parent 869a9fd994
commit de13b83ed2
3 changed files with 3 additions and 7 deletions

View file

@ -877,7 +877,7 @@ public:
visualiserComp (colourPicker) visualiserComp (colourPicker)
{ {
#ifndef JUCE_DEMO_RUNNER #ifndef JUCE_DEMO_RUNNER
audioDeviceManager.initialise (0, 2, 0, true, {}, 0); audioDeviceManager.initialise (0, 2, nullptr, true, {}, nullptr);
#endif #endif
audioDeviceManager.addMidiInputDeviceCallback ({}, this); audioDeviceManager.addMidiInputDeviceCallback ({}, this);

View file

@ -78,8 +78,6 @@ public:
startTimer (500); startTimer (500);
} }
~SurroundEditor() {}
void resized() override void resized() override
{ {
auto r = getLocalBounds(); auto r = getLocalBounds();
@ -222,8 +220,6 @@ public:
.withOutput ("Output", AudioChannelSet::stereo())) .withOutput ("Output", AudioChannelSet::stereo()))
{} {}
~SurroundProcessor() {}
//============================================================================== //==============================================================================
void prepareToPlay (double sampleRate, int samplesPerBlock) override void prepareToPlay (double sampleRate, int samplesPerBlock) override
{ {

View file

@ -89,7 +89,7 @@ public:
startAnalyticsThread (initialPeriodMs); startAnalyticsThread (initialPeriodMs);
} }
~GoogleAnalyticsDestination() ~GoogleAnalyticsDestination() override
{ {
// Here we sleep so that our background thread has a chance to send the // Here we sleep so that our background thread has a chance to send the
// last lot of batched events. Be careful - if your app takes too long to // last lot of batched events. Be careful - if your app takes too long to
@ -332,7 +332,7 @@ public:
logEventButtonPress.reset (new ButtonTracker (eventButton, "button_press", logButtonPressParameters)); logEventButtonPress.reset (new ButtonTracker (eventButton, "button_press", logButtonPressParameters));
} }
~AnalyticsCollectionDemo() ~AnalyticsCollectionDemo() override
{ {
// The event type here should probably be DemoAnalyticsEventTypes::sessionEnd // The event type here should probably be DemoAnalyticsEventTypes::sessionEnd
// in a more advanced app. // in a more advanced app.