1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Added a default constructor to AudioProcessorGraph::Connection

This commit is contained in:
ed 2019-08-28 10:50:17 +01:00
parent 383d69c421
commit 556f0d2ea5

View file

@ -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 };
};
//==============================================================================