Browse Source

Over-zealous assertion fix.

tags/2021-05-28
jules 12 years ago
parent
commit
7f7cbe73fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/containers/juce_OwnedArray.h

+ 1
- 1
modules/juce_core/containers/juce_OwnedArray.h 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)
{


Loading…
Cancel
Save