summaryrefslogtreecommitdiffstats
path: root/src/Net/ClientConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Net/ClientConnection.h')
-rw-r--r--src/Net/ClientConnection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Net/ClientConnection.h b/src/Net/ClientConnection.h
index f93c2fc..dcb6906 100644
--- a/src/Net/ClientConnection.h
+++ b/src/Net/ClientConnection.h
@@ -21,7 +21,7 @@
#define MAD_NET_CLIENTCONNECTION_H_
#include "Connection.h"
-#include "Exception.h"
+#include <Core/Exception.h>
#include <boost/utility/base_from_member.hpp>
@@ -37,13 +37,13 @@ class ClientConnection : private boost::base_from_member<boost::asio::ssl::conte
public:
ClientConnection()
- : boost::base_from_member<boost::asio::ssl::context>(boost::ref(Connection::ioService), boost::asio::ssl::context::sslv23),
+ : boost::base_from_member<boost::asio::ssl::context>(boost::ref(Core::ThreadManager::get()->getIOService()), boost::asio::ssl::context::sslv23),
Connection(member)
{
member.set_verify_mode(boost::asio::ssl::context::verify_none);
}
- void connect(const boost::asio::ip::tcp::endpoint &address) throw(Exception);
+ void connect(const boost::asio::ip::tcp::endpoint &address) throw(Core::Exception);
};
}