1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Avoided a false assertion.

This commit is contained in:
jules 2013-06-26 11:08:52 +01:00
parent ed09493cd2
commit 57832f97e1

View file

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