mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Workaround for old Visual Studio compatibility
This commit is contained in:
parent
bc37767edb
commit
7813a45b24
2 changed files with 5 additions and 5 deletions
|
|
@ -370,9 +370,9 @@ struct RenderSequenceBuilder
|
|||
void setAssignedToNonExistentNode() noexcept { channel = { anonNodeID(), 0 }; }
|
||||
|
||||
private:
|
||||
static constexpr NodeID anonNodeID() { return NodeID (0x7ffffffd); }
|
||||
static constexpr NodeID zeroNodeID() { return NodeID (0x7ffffffe); }
|
||||
static constexpr NodeID freeNodeID() { return NodeID (0x7fffffff); }
|
||||
static NodeID anonNodeID() { return NodeID (0x7ffffffd); }
|
||||
static NodeID zeroNodeID() { return NodeID (0x7ffffffe); }
|
||||
static NodeID freeNodeID() { return NodeID (0x7fffffff); }
|
||||
};
|
||||
|
||||
Array<AssignedBuffer> audioBuffers, midiBuffers;
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@ public:
|
|||
/** Each node in the graph has a UID of this type. */
|
||||
struct NodeID
|
||||
{
|
||||
constexpr NodeID() {}
|
||||
constexpr explicit NodeID (uint32 i) : uid (i) {}
|
||||
NodeID() {}
|
||||
explicit NodeID (uint32 i) : uid (i) {}
|
||||
|
||||
uint32 uid = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue