From 72a80bd87b7c37a220c206da780cf15b61946c1b Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Tue, 17 Jan 2012 09:38:51 -0600 Subject: [PATCH] some fixes for windows compiling references #50 --- src/endpoint.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/endpoint.hpp b/src/endpoint.hpp index 108dac1bf0..775a340dab 100644 --- a/src/endpoint.hpp +++ b/src/endpoint.hpp @@ -121,8 +121,8 @@ public: * when creating new connections. */ explicit endpoint(handler_ptr handler) - : role_type(m_io_service), - socket_type(m_io_service), + : role_type(endpoint_base::m_io_service), + socket_type(endpoint_base::m_io_service), m_state(IDLE), m_handler(handler), m_pool(new message::pool(1000)), @@ -202,7 +202,7 @@ public: const std::string& reason = "") { alog().at(log::alevel::ENDPOINT) - << "Endpoint recieved signal to close all connections cleanly with code " + << "Endpoint received signal to close all connections cleanly with code " << code << " and reason " << reason << log::endl; typename std::set::iterator it; @@ -245,7 +245,7 @@ public: alog().at(log::alevel::ENDPOINT) << "Endpoint is stopping immediately" << log::endl; - m_io_service.stop(); + endpoint_base::m_io_service.stop(); m_state = STOPPED; } }