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,