1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Over-zealous assertion fix.

This commit is contained in:
jules 2013-06-26 19:53:48 +01:00
parent 472082c378
commit 7f7cbe73fd

View file

@ -438,7 +438,7 @@ public:
numElementsToAdd = arrayToAddFrom.size() - startIndex;
data.ensureAllocatedSize (numUsed + numElementsToAdd);
jassert (data.elements != nullptr);
jassert (numElementsToAdd <= 0 || data.elements != nullptr);
while (--numElementsToAdd >= 0)
{