mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DSP: Fixed a potential crash when using the default constructor of ProcessorDuplicator
This commit is contained in:
parent
0d269763e2
commit
ccd988ef5e
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
template <typename MonoProcessorType, typename StateType>
|
||||
struct ProcessorDuplicator
|
||||
{
|
||||
ProcessorDuplicator() {}
|
||||
ProcessorDuplicator() : state (new StateType()) {}
|
||||
ProcessorDuplicator (StateType* stateToUse) : state (stateToUse) {}
|
||||
ProcessorDuplicator (const ProcessorDuplicator&) = default;
|
||||
ProcessorDuplicator (ProcessorDuplicator&&) = default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue