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 dcb6906..02cd0c7 100644
--- a/src/Net/ClientConnection.h
+++ b/src/Net/ClientConnection.h
@@ -36,9 +36,9 @@ class ClientConnection : private boost::base_from_member<boost::asio::ssl::conte
void handleConnect(const boost::system::error_code& error);
public:
- ClientConnection()
- : boost::base_from_member<boost::asio::ssl::context>(boost::ref(Core::ThreadManager::get()->getIOService()), boost::asio::ssl::context::sslv23),
- Connection(member)
+ ClientConnection(Core::Application *application)
+ : boost::base_from_member<boost::asio::ssl::context>(boost::ref(application->getIOService()), boost::asio::ssl::context::sslv23),
+ Connection(application, member)
{
member.set_verify_mode(boost::asio::ssl::context::verify_none);
}