mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 921871 - Fix -Wunitialized warning in Vector.h. r=Waldo
--HG-- extra : rebase_source : 117d37c7a44c79c6a3b446f3828e5464fc9e391f
This commit is contained in:
parent
ef2ba2f3e7
commit
e98ada57a9
@ -566,14 +566,15 @@ template<typename T, size_t N, class AP, class TV>
|
||||
MOZ_ALWAYS_INLINE
|
||||
VectorBase<T, N, AP, TV>::VectorBase(AP ap)
|
||||
: AP(ap),
|
||||
mBegin(static_cast<T*>(storage.addr())),
|
||||
mLength(0),
|
||||
mCapacity(sInlineCapacity)
|
||||
#ifdef DEBUG
|
||||
, mReserved(sInlineCapacity),
|
||||
entered(false)
|
||||
#endif
|
||||
{}
|
||||
{
|
||||
mBegin = static_cast<T*>(storage.addr());
|
||||
}
|
||||
|
||||
/* Move constructor. */
|
||||
template<typename T, size_t N, class AllocPolicy, class TV>
|
||||
|
Loading…
Reference in New Issue
Block a user