summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-08-28 14:06:34 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-08-28 14:06:34 (GMT)
commitd5a0dcb28c5738660ee56483ad305a0075f71799 (patch)
tree4b80ac60a1cdd3efc13ff03e49cc617641e0caee
parent7d406bb0c9b36921e5e9fffd3f4e62982c0956ca (diff)
downloadswift-d5a0dcb28c5738660ee56483ad305a0075f71799.zip
swift-d5a0dcb28c5738660ee56483ad305a0075f71799.tar.bz2
Fixed test.
-rw-r--r--Swiften/Disco/UnitTest/CapsManagerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Disco/UnitTest/CapsManagerTest.cpp b/Swiften/Disco/UnitTest/CapsManagerTest.cpp
index 52b4bf1..0681569 100644
--- a/Swiften/Disco/UnitTest/CapsManagerTest.cpp
+++ b/Swiften/Disco/UnitTest/CapsManagerTest.cpp
@@ -185,7 +185,7 @@ class CapsManagerTest : public CppUnit::TestFixture {
}
void testReceiveNoDiscoFallsBack() {
- std::auto_ptr<CapsManager> testling = createManager();
+ boost::shared_ptr<CapsManager> testling = createManager();
sendPresenceWithCaps(user1, capsInfo1);
sendPresenceWithCaps(user2, capsInfo1alt);
stanzaChannel->onIQReceived(IQ::createResult(JID("baz@fum.com/dum"), stanzaChannel->sentStanzas[0]->getTo(), stanzaChannel->sentStanzas[0]->getID(), boost::shared_ptr<DiscoInfo>()));