diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-10 07:22:55 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-10 07:22:55 (GMT) |
commit | 3ec9ffd2d608b8570a8fd8afebd7aaca5445b013 (patch) | |
tree | 1c6d3e074cae96cec788a5e34eddc679a035bf8f /Swiften/QA/ClientTest/ClientTest.cpp | |
parent | a8fd5486e8d98a2998ab3430770d9e9d691ff16f (diff) | |
download | swift-contrib-3ec9ffd2d608b8570a8fd8afebd7aaca5445b013.zip swift-contrib-3ec9ffd2d608b8570a8fd8afebd7aaca5445b013.tar.bz2 |
Added ClientTest to test suite.swift-1.0beta7
Diffstat (limited to 'Swiften/QA/ClientTest/ClientTest.cpp')
-rw-r--r-- | Swiften/QA/ClientTest/ClientTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/QA/ClientTest/ClientTest.cpp b/Swiften/QA/ClientTest/ClientTest.cpp index 872d6f2..7b2c7f4 100644 --- a/Swiften/QA/ClientTest/ClientTest.cpp +++ b/Swiften/QA/ClientTest/ClientTest.cpp @@ -38,7 +38,7 @@ void handleRosterReceived(boost::shared_ptr<Payload>) { } void handleConnected() { - boost::shared_ptr<GetRosterRequest> rosterRequest(new GetRosterRequest(client)); + GetRosterRequest::ref rosterRequest = GetRosterRequest::create(client->getIQRouter()); rosterRequest->onResponse.connect(boost::bind(&handleRosterReceived, _1)); rosterRequest->send(); } |