From 8879e4aa04bd849504d669430ccbd0ee5dbf4cc7 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Mon, 27 Jan 2014 09:57:22 +0000
Subject: Fix compilation error C++11/latest clang

Change-Id: I33c55c300c9b387e87b2af7e08c59973ee5678fc

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());
 		}
 
-- 
cgit v0.10.2-6-g49f6