mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
Use template instantiation for friend declaration
This commit is contained in:
committed by
Vinnie Falco
parent
7b1e03a585
commit
695cc38b36
@@ -46,8 +46,7 @@ class ListNode
|
||||
private:
|
||||
typedef T value_type;
|
||||
|
||||
template <typename, typename>
|
||||
friend class List;
|
||||
friend class List<T, Tag>;
|
||||
|
||||
template <typename>
|
||||
friend class ListIterator;
|
||||
|
||||
Reference in New Issue
Block a user