Added 'class' to friend declaration.

This commit is contained in:
John Wellbelove 2016-06-29 18:18:40 +01:00
parent 7b1fd7fc53
commit 9aa43ddafe
4 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;