summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/BoostConnectionFactory.cpp')
-rw-r--r--Swiften/Network/BoostConnectionFactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/BoostConnectionFactory.cpp b/Swiften/Network/BoostConnectionFactory.cpp
index 9c542ac..a1bef15 100644
--- a/Swiften/Network/BoostConnectionFactory.cpp
+++ b/Swiften/Network/BoostConnectionFactory.cpp
@@ -2,11 +2,11 @@
namespace Swift {
-BoostConnectionFactory::BoostConnectionFactory() {
+BoostConnectionFactory::BoostConnectionFactory(boost::asio::io_service* ioService) : ioService(ioService) {
}
-BoostConnection* BoostConnectionFactory::createConnection(const String& domain) {
- return new BoostConnection(domain);
+BoostConnection* BoostConnectionFactory::createConnection() {
+ return new BoostConnection(ioService);
}
}