mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 20:44:51 +00:00
Add missing typename to unbreak the MSVC 2012 build.
llvm-svn: 175129
This commit is contained in:
parent
b1b829cd65
commit
9e29d95f36
@ -211,13 +211,13 @@ public:
|
||||
friend class ImmutableMap;
|
||||
|
||||
public:
|
||||
typedef ImmutableMap<KeyT,ValT,ValInfo>::value_type value_type;
|
||||
typedef ImmutableMap<KeyT,ValT,ValInfo>::value_type_ref reference;
|
||||
typedef iterator::value_type *pointer;
|
||||
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;
|
||||
typedef std::bidirectional_iterator_tag iterator_category;
|
||||
|
||||
iterator::reference operator*() const { return itr->getValue(); }
|
||||
iterator::pointer operator->() const { return &itr->getValue(); }
|
||||
typename iterator::reference operator*() const { return itr->getValue(); }
|
||||
typename iterator::pointer operator->() const { return &itr->getValue(); }
|
||||
|
||||
key_type_ref getKey() const { return itr->getValue().first; }
|
||||
data_type_ref getData() const { return itr->getValue().second; }
|
||||
|
@ -1060,13 +1060,13 @@ public:
|
||||
friend class ImmutableSet<ValT,ValInfo>;
|
||||
|
||||
public:
|
||||
typedef ImmutableSet<ValT,ValInfo>::value_type value_type;
|
||||
typedef ImmutableSet<ValT,ValInfo>::value_type_ref reference;
|
||||
typedef iterator::value_type *pointer;
|
||||
typedef typename ImmutableSet<ValT,ValInfo>::value_type value_type;
|
||||
typedef typename ImmutableSet<ValT,ValInfo>::value_type_ref reference;
|
||||
typedef typename iterator::value_type *pointer;
|
||||
typedef std::bidirectional_iterator_tag iterator_category;
|
||||
|
||||
iterator::reference operator*() const { return itr->getValue(); }
|
||||
iterator::pointer operator->() const { return &(operator*()); }
|
||||
typename iterator::reference operator*() const { return itr->getValue(); }
|
||||
typename iterator::pointer operator->() const { return &(operator*()); }
|
||||
|
||||
iterator& operator++() { ++itr; return *this; }
|
||||
iterator operator++(int) { iterator tmp(*this); ++itr; return tmp; }
|
||||
|
Loading…
Reference in New Issue
Block a user