From 556f0d2ea581ef7eb806a7187d984cf5cdd10262 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 28 Aug 2019 10:50:17 +0100 Subject: [PATCH] Added a default constructor to AudioProcessorGraph::Connection --- .../processors/juce_AudioProcessorGraph.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h b/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h index 1fb8a495da..f7ce5789fb 100644 --- a/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h +++ b/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h @@ -162,6 +162,7 @@ public: struct JUCE_API Connection { //============================================================================== + Connection() = default; Connection (NodeAndChannel source, NodeAndChannel destination) noexcept; Connection (const Connection&) = default; @@ -173,10 +174,10 @@ public: //============================================================================== /** The channel and node which is the input source for this connection. */ - NodeAndChannel source; + NodeAndChannel source { {}, 0 }; /** The channel and node which is the input source for this connection. */ - NodeAndChannel destination; + NodeAndChannel destination { {}, 0 }; }; //==============================================================================