From 695cc38b365e20ceafa20016b6fd4f91f1a995b6 Mon Sep 17 00:00:00 2001 From: Patrick Dehne Date: Sun, 20 Oct 2013 00:43:17 +0200 Subject: [PATCH] Use template instantiation for friend declaration --- beast/intrusive/List.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beast/intrusive/List.h b/beast/intrusive/List.h index 6aee1afc03..0b64fb6e43 100644 --- a/beast/intrusive/List.h +++ b/beast/intrusive/List.h @@ -46,8 +46,7 @@ class ListNode private: typedef T value_type; - template - friend class List; + friend class List; template friend class ListIterator;