mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1182277, don't leak when using nsAutoTArray inside nsTArray, r=nfroyd
This commit is contained in:
parent
909d7df70c
commit
784107ead5
@ -2358,6 +2358,12 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<class E, size_t N>
|
||||
struct nsTArray_CopyChooser<nsAutoTArray<E, N>>
|
||||
{
|
||||
typedef nsTArray_CopyWithConstructors<nsAutoTArray<E, N>> Type;
|
||||
};
|
||||
|
||||
// Assert that nsAutoTArray doesn't have any extra padding inside.
|
||||
//
|
||||
// It's important that the data stored in this auto array takes up a multiple of
|
||||
|
Loading…
Reference in New Issue
Block a user