mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1257982 - [hazards] Inherit template attrs for plain HashMap/HashSet r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D23621
This commit is contained in:
parent
7c20ad9250
commit
c75e825207
@ -408,7 +408,7 @@ class HashMap {
|
||||
using Range = typename Impl::Range;
|
||||
using Enum = typename Impl::Enum;
|
||||
Range all() const { return mImpl.all(); }
|
||||
};
|
||||
} MOZ_INHERIT_TYPE_ANNOTATIONS_FROM_TEMPLATE_ARGS;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// HashSet
|
||||
@ -699,7 +699,7 @@ class HashSet {
|
||||
using Range = typename Impl::Range;
|
||||
using Enum = typename Impl::Enum;
|
||||
Range all() const { return mImpl.all(); }
|
||||
};
|
||||
} MOZ_INHERIT_TYPE_ANNOTATIONS_FROM_TEMPLATE_ARGS;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Hash Policy
|
||||
|
Loading…
Reference in New Issue
Block a user