mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1091986 (part 1) - Remove an over-zealous assertion in Vector.h.
This commit is contained in:
parent
655a37a8b5
commit
f8116d592a
@ -724,8 +724,6 @@ MOZ_NEVER_INLINE bool
|
||||
VectorBase<T, N, AP, TV>::growStorageBy(size_t aIncr)
|
||||
{
|
||||
MOZ_ASSERT(mLength + aIncr > mCapacity);
|
||||
MOZ_ASSERT_IF(!usingInlineStorage(),
|
||||
!detail::CapacityHasExcessSpace<T>(mCapacity));
|
||||
|
||||
/*
|
||||
* When choosing a new capacity, its size should is as close to 2**N bytes
|
||||
|
Loading…
Reference in New Issue
Block a user