mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Added 'class' to friend declaration.
This commit is contained in:
parent
7b1fd7fc53
commit
9aa43ddafe
@ -283,7 +283,7 @@ namespace etl
|
||||
Node* p_node;
|
||||
};
|
||||
|
||||
friend iterator;
|
||||
friend class iterator;
|
||||
|
||||
//*************************************************************************
|
||||
/// const_iterator
|
||||
@ -394,7 +394,7 @@ namespace etl
|
||||
const Node* p_node;
|
||||
};
|
||||
|
||||
friend const_iterator;
|
||||
friend class const_iterator;
|
||||
|
||||
typedef typename std::iterator_traits<iterator>::difference_type difference_type;
|
||||
|
||||
|
||||
@ -283,7 +283,7 @@ namespace etl
|
||||
// Pointer to the current node for this iterator
|
||||
Node* p_node;
|
||||
};
|
||||
friend iterator;
|
||||
friend class iterator;
|
||||
|
||||
//*************************************************************************
|
||||
/// const_iterator
|
||||
@ -393,7 +393,7 @@ namespace etl
|
||||
// Pointer to the current node for this iterator
|
||||
const Node* p_node;
|
||||
};
|
||||
friend const_iterator;
|
||||
friend class const_iterator;
|
||||
|
||||
typedef typename std::iterator_traits<iterator>::difference_type difference_type;
|
||||
|
||||
|
||||
@ -264,7 +264,7 @@ namespace etl
|
||||
// Pointer to the current node for this iterator
|
||||
Node* p_node;
|
||||
};
|
||||
friend iterator;
|
||||
friend class iterator;
|
||||
|
||||
//*************************************************************************
|
||||
/// const_iterator
|
||||
@ -374,7 +374,7 @@ namespace etl
|
||||
// Pointer to the current node for this iterator
|
||||
const Node* p_node;
|
||||
};
|
||||
friend const_iterator;
|
||||
friend class const_iterator;
|
||||
|
||||
typedef typename std::iterator_traits<iterator>::difference_type difference_type;
|
||||
|
||||
|
||||
@ -264,7 +264,7 @@ namespace etl
|
||||
// Pointer to the current node for this iterator
|
||||
Node* p_node;
|
||||
};
|
||||
friend iterator;
|
||||
friend class iterator;
|
||||
|
||||
//*************************************************************************
|
||||
/// const_iterator
|
||||
@ -374,7 +374,7 @@ namespace etl
|
||||
// Pointer to the current node for this iterator
|
||||
const Node* p_node;
|
||||
};
|
||||
friend const_iterator;
|
||||
friend class const_iterator;
|
||||
|
||||
typedef typename std::iterator_traits<iterator>::difference_type difference_type;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user