Bug 1761536 - Part 2: Replace nsTArray::elem_type with value_type, r=mccr8

There weren't that many uses of the existing typedef, so it seemed like
it might be worthwhile to just replace all uses of the previous typedef
with the stl-like one.

Differential Revision: https://phabricator.services.mozilla.com/D142705
This commit is contained in:
Nika Layzell
2022-04-01 17:00:25 +00:00
parent b118b12f22
commit d163dced99
12 changed files with 323 additions and 318 deletions

View File

@@ -488,7 +488,7 @@ struct QueueParamTraits<nsString> : public QueueParamTraits<nsAString> {
template <typename NSTArrayType,
bool =
IsTriviallySerializable<typename NSTArrayType::elem_type>::value>
IsTriviallySerializable<typename NSTArrayType::value_type>::value>
struct NSArrayQueueParamTraits;
// For ElementTypes that are !IsTriviallySerializable