summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Network/UnitTest/BOSHConnectionTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Network/UnitTest/BOSHConnectionTest.cpp b/Swiften/Network/UnitTest/BOSHConnectionTest.cpp
index 7ef0249..9c4bc27 100644
--- a/Swiften/Network/UnitTest/BOSHConnectionTest.cpp
+++ b/Swiften/Network/UnitTest/BOSHConnectionTest.cpp
@@ -107,7 +107,7 @@ class BOSHConnectionTest : public CppUnit::TestFixture {
eventLoop->processEvents();
testling->setSID("mySID");
CPPUNIT_ASSERT(testling->isReadyToSend());
- connectionFactory->connections[0]->onDisconnected(false);
+ connectionFactory->connections[0]->onDisconnected(boost::optional<Connection::Error>());
CPPUNIT_ASSERT(!testling->isReadyToSend());
}