mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1182277, don't leak when using nsAutoTArray inside nsTArray, r=nfroyd
--HG-- extra : rebase_source : f2ef5f9be86461490ad87e4862e1f77f88b33ade
This commit is contained in:
parent
e340e1cc46
commit
bf12e17af3
@ -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…
x
Reference in New Issue
Block a user