mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 14:45:50 +00:00
Add difference_type to ImmutableMap/Set iterators so they have a complete set of typedefs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
692062f180
commit
d861b90fe2
@ -211,6 +211,7 @@ public:
|
||||
friend class ImmutableMap;
|
||||
|
||||
public:
|
||||
typedef ptrdiff_t difference_type;
|
||||
typedef typename ImmutableMap<KeyT,ValT,ValInfo>::value_type value_type;
|
||||
typedef typename ImmutableMap<KeyT,ValT,ValInfo>::value_type_ref reference;
|
||||
typedef typename iterator::value_type *pointer;
|
||||
|
@ -1060,6 +1060,7 @@ public:
|
||||
friend class ImmutableSet<ValT,ValInfo>;
|
||||
|
||||
public:
|
||||
typedef ptrdiff_t difference_type;
|
||||
typedef typename ImmutableSet<ValT,ValInfo>::value_type value_type;
|
||||
typedef typename ImmutableSet<ValT,ValInfo>::value_type_ref reference;
|
||||
typedef typename iterator::value_type *pointer;
|
||||
|
Loading…
Reference in New Issue
Block a user