From e848e9bd2bbc823c4cf94fce44d0ec13a4bac408 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 19 Nov 2011 09:15:55 -0600 Subject: [PATCH] messes with friends --- examples/echo_server/Makefile | 2 +- src/connection.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/echo_server/Makefile b/examples/echo_server/Makefile index f7be740eca..eeb0b216d1 100644 --- a/examples/echo_server/Makefile +++ b/examples/echo_server/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -O2 -std=c++0x +CFLAGS = -O2 LDFLAGS = CXX ?= c++ diff --git a/src/connection.hpp b/src/connection.hpp index 61816ed064..4e10036a64 100644 --- a/src/connection.hpp +++ b/src/connection.hpp @@ -72,8 +72,8 @@ public: // friends (would require C++11) this would enable connection::start to be // protected instead of public. - friend typename endpoint_traits::role_type; - friend typename endpoint_traits::socket_type; + //friend typename endpoint_traits::role_type; + //friend typename endpoint_traits::socket_type; //friend class role; //friend class socket;