From 8e9d08489ccf9d087d770d9a04e279e6dc2760da Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 28 Nov 2011 08:37:09 -0600 Subject: [PATCH] corrects connection friend declaration bug --- src/connection.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/connection.hpp b/src/connection.hpp index 4e10036a64..db611d8665 100644 --- a/src/connection.hpp +++ b/src/connection.hpp @@ -77,8 +77,10 @@ public: //friend class role; //friend class socket; - friend class role::template connection; - friend class socket::template connection; + //friend class role::template connection; + //friend class socket::template connection; + friend class role< connection >; + friend class socket< connection >; enum write_state { IDLE = 0,