mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
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.
This commit is contained in:
parent
220d6fc5ee
commit
9da424a663
3 changed files with 4 additions and 2 deletions
|
|
@ -1405,7 +1405,7 @@ bool AudioProcessorGraph::Connection::operator< (const Connection& other) const
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
class AudioProcessorGraph::Pimpl : private AsyncUpdater
|
||||
class AudioProcessorGraph::Pimpl : public AsyncUpdater
|
||||
{
|
||||
public:
|
||||
explicit Pimpl (AudioProcessorGraph& o) : owner (&o) {}
|
||||
|
|
|
|||
|
|
@ -102,6 +102,8 @@ class ParameterComponent : public Component,
|
|||
{
|
||||
public:
|
||||
using ParameterListener::ParameterListener;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ParameterComponent)
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
namespace juce
|
||||
{
|
||||
|
||||
class HighResolutionTimer::Pimpl : private Thread
|
||||
class HighResolutionTimer::Pimpl : public Thread
|
||||
{
|
||||
using steady_clock = std::chrono::steady_clock;
|
||||
using milliseconds = std::chrono::milliseconds;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue