summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2014-01-27 09:57:22 (GMT)
committerKevin Smith <git@kismith.co.uk>2014-01-27 09:58:02 (GMT)
commit8879e4aa04bd849504d669430ccbd0ee5dbf4cc7 (patch)
tree5ff603f01bd099f80a4470a3d8409917d892d52c /Swiften/Network
parentda19756b19d09cd272eb9310698a27353887bbe4 (diff)
downloadswift-8879e4aa04bd849504d669430ccbd0ee5dbf4cc7.zip
swift-8879e4aa04bd849504d669430ccbd0ee5dbf4cc7.tar.bz2
Fix compilation error C++11/latest clang
Change-Id: I33c55c300c9b387e87b2af7e08c59973ee5678fc
Diffstat (limited to 'Swiften/Network')
-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());
}