Browse Source

Fixed some compiler warnings

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
de13b83ed2
3 changed files with 3 additions and 7 deletions
  1. +1
    -1
      examples/Audio/MPEDemo.h
  2. +0
    -4
      examples/Plugins/SurroundPluginDemo.h
  3. +2
    -2
      examples/Utilities/AnalyticsCollectionDemo.h

+ 1
- 1
examples/Audio/MPEDemo.h View File

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


+ 0
- 4
examples/Plugins/SurroundPluginDemo.h View File

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


+ 2
- 2
examples/Utilities/AnalyticsCollectionDemo.h View File

@@ -89,7 +89,7 @@ public:
startAnalyticsThread (initialPeriodMs);
}
~GoogleAnalyticsDestination()
~GoogleAnalyticsDestination() override
{
// 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
@@ -332,7 +332,7 @@ public:
logEventButtonPress.reset (new ButtonTracker (eventButton, "button_press", logButtonPressParameters));
}
~AnalyticsCollectionDemo()
~AnalyticsCollectionDemo() override
{
// The event type here should probably be DemoAnalyticsEventTypes::sessionEnd
// in a more advanced app.


Loading…
Cancel
Save