Bug 1644642 - Fix ArrayType of nsTArray_Impl iterators. a=fix. CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D79253
This commit is contained in:
Simon Giesecke 2020-06-11 07:58:38 +00:00
parent ae23f02b59
commit 5f046f94b5

View File

@ -959,8 +959,8 @@ class nsTArray_Impl
typedef nsTArray_Impl<E, Alloc> self_type;
typedef nsTArrayElementTraits<E> elem_traits;
typedef nsTArray_SafeElementAtHelper<E, self_type> safeelementat_helper_type;
typedef mozilla::ArrayIterator<elem_type&, nsTArray<E>> iterator;
typedef mozilla::ArrayIterator<const elem_type&, nsTArray<E>> const_iterator;
typedef mozilla::ArrayIterator<elem_type&, self_type> iterator;
typedef mozilla::ArrayIterator<const elem_type&, self_type> const_iterator;
typedef mozilla::ReverseIterator<iterator> reverse_iterator;
typedef mozilla::ReverseIterator<const_iterator> const_reverse_iterator;