Fix assertion

This commit is contained in:
Vinnie Falco
2013-06-26 12:30:15 -07:00
parent 9182c1558c
commit e002000764

View File

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