From 9aa43ddafefdfa2312cb96c6c4d912a3b1c6186b Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 29 Jun 2016 18:18:40 +0100 Subject: [PATCH] Added 'class' to friend declaration. --- src/imap.h | 4 ++-- src/imultimap.h | 4 ++-- src/imultiset.h | 4 ++-- src/iset.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/imap.h b/src/imap.h index 6caa2126..ecf4ddbb 100644 --- a/src/imap.h +++ b/src/imap.h @@ -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::difference_type difference_type; diff --git a/src/imultimap.h b/src/imultimap.h index 8fff9493..f88fd25b 100644 --- a/src/imultimap.h +++ b/src/imultimap.h @@ -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::difference_type difference_type; diff --git a/src/imultiset.h b/src/imultiset.h index 24e2ae1f..9f36182c 100644 --- a/src/imultiset.h +++ b/src/imultiset.h @@ -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::difference_type difference_type; diff --git a/src/iset.h b/src/iset.h index 4eb9688e..83f495cb 100644 --- a/src/iset.h +++ b/src/iset.h @@ -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::difference_type difference_type;