mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix assertion
This commit is contained in:
@@ -433,7 +433,7 @@ public:
|
|||||||
numElementsToAdd = arrayToAddFrom.size() - startIndex;
|
numElementsToAdd = arrayToAddFrom.size() - startIndex;
|
||||||
|
|
||||||
data.ensureAllocatedSize (numUsed + numElementsToAdd);
|
data.ensureAllocatedSize (numUsed + numElementsToAdd);
|
||||||
bassert (data.elements != nullptr);
|
bassert (numElementsToAdd <= 0 || data.elements != nullptr);
|
||||||
|
|
||||||
while (--numElementsToAdd >= 0)
|
while (--numElementsToAdd >= 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user