Browse Source

Fix Windows DLL build

In Windows DLL builds we inject operator new/delete definitions into
classes with a leak detector. This requires that all inheritance from
such classes must be public, and classes inheriting from multiple such
classes must disambiguate between the base's operators.
v7.0.9
attila 2 years ago
parent
commit
9da424a663
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp
  2. +2
    -0
      modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.cpp
  3. +1
    -1
      modules/juce_core/threads/juce_HighResolutionTimer.cpp

+ 1
- 1
modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp View File

@@ -1405,7 +1405,7 @@ bool AudioProcessorGraph::Connection::operator< (const Connection& other) const
} }
//============================================================================== //==============================================================================
class AudioProcessorGraph::Pimpl : private AsyncUpdater
class AudioProcessorGraph::Pimpl : public AsyncUpdater
{ {
public: public:
explicit Pimpl (AudioProcessorGraph& o) : owner (&o) {} explicit Pimpl (AudioProcessorGraph& o) : owner (&o) {}


+ 2
- 0
modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.cpp View File

@@ -102,6 +102,8 @@ class ParameterComponent : public Component,
{ {
public: public:
using ParameterListener::ParameterListener; using ParameterListener::ParameterListener;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ParameterComponent)
}; };
//============================================================================== //==============================================================================


+ 1
- 1
modules/juce_core/threads/juce_HighResolutionTimer.cpp View File

@@ -23,7 +23,7 @@
namespace juce namespace juce
{ {
class HighResolutionTimer::Pimpl : private Thread
class HighResolutionTimer::Pimpl : public Thread
{ {
using steady_clock = std::chrono::steady_clock; using steady_clock = std::chrono::steady_clock;
using milliseconds = std::chrono::milliseconds; using milliseconds = std::chrono::milliseconds;


Loading…
Cancel
Save