summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-10-06 07:33:24 (GMT)
committerSwift Review <review@swift.im>2015-10-14 16:44:01 (GMT)
commitac6cf9659718a18b1ea22f72dbf0cdb64cbf9a24 (patch)
tree2350ed917d70d2ba7daf027f230e52246117c10f /Swiften/Network/BoostConnection.h
parent192e8631d4c9a196e13a20d22f57c392bac9dd73 (diff)
downloadswift-ac6cf9659718a18b1ea22f72dbf0cdb64cbf9a24.zip
swift-ac6cf9659718a18b1ea22f72dbf0cdb64cbf9a24.tar.bz2
Fix compiler warnings about unused variables/arguments
Test-Informations: Code compiles without warnings and tests still pass. Change-Id: If74c615706b8125c3c5186f0d940c103749ddb80
Diffstat (limited to 'Swiften/Network/BoostConnection.h')
-rw-r--r--Swiften/Network/BoostConnection.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Network/BoostConnection.h b/Swiften/Network/BoostConnection.h
index d238a3f..83a8f01 100644
--- a/Swiften/Network/BoostConnection.h
+++ b/Swiften/Network/BoostConnection.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * Copyright (c) 2010 Isode Limited. 2 * Copyright (c) 2010-2015 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
6 6
7#pragma once 7#pragma once
@@ -10,13 +10,13 @@
10#include <boost/asio/ip/tcp.hpp> 10#include <boost/asio/ip/tcp.hpp>
11#include <boost/enable_shared_from_this.hpp> 11#include <boost/enable_shared_from_this.hpp>
12#include <boost/thread/mutex.hpp> 12#include <boost/thread/mutex.hpp>
13 13
14#include <Swiften/Base/API.h> 14#include <Swiften/Base/API.h>
15#include <Swiften/Network/Connection.h>
16#include <Swiften/EventLoop/EventOwner.h>
17#include <Swiften/Base/SafeByteArray.h> 15#include <Swiften/Base/SafeByteArray.h>
16#include <Swiften/EventLoop/EventOwner.h>
17#include <Swiften/Network/Connection.h>
18 18
19namespace boost { 19namespace boost {
20 class thread; 20 class thread;
21 namespace system { 21 namespace system {
22 class error_code; 22 class error_code;
@@ -28,11 +28,11 @@ namespace Swift {
28 28
29 class SWIFTEN_API BoostConnection : public Connection, public EventOwner, public boost::enable_shared_from_this<BoostConnection> { 29 class SWIFTEN_API BoostConnection : public Connection, public EventOwner, public boost::enable_shared_from_this<BoostConnection> {
30 public: 30 public:
31 typedef boost::shared_ptr<BoostConnection> ref; 31 typedef boost::shared_ptr<BoostConnection> ref;
32 32
33 ~BoostConnection(); 33 virtual ~BoostConnection();
34 34
35 static ref create(boost::shared_ptr<boost::asio::io_service> ioService, EventLoop* eventLoop) { 35 static ref create(boost::shared_ptr<boost::asio::io_service> ioService, EventLoop* eventLoop) {
36 return ref(new BoostConnection(ioService, eventLoop)); 36 return ref(new BoostConnection(ioService, eventLoop));
37 } 37 }
38 38