diff options
| author | Tobias Markmann <tm@ayena.de> | 2018-07-31 15:42:11 (GMT) |
|---|---|---|
| committer | Tobias Markmann <tm@ayena.de> | 2018-07-31 15:42:11 (GMT) |
| commit | 0007bbfa11e74f2a76aebc83995843ee8f6840ab (patch) | |
| tree | 809fdb606a6bf37acfd800742dd0aeee72d2dbbf /Swiften/Session/BasicSessionStream.h | |
| parent | 9d88d2c7130ebccdec12abf6420843d0f5e08e8e (diff) | |
| download | swift-0007bbfa11e74f2a76aebc83995843ee8f6840ab.zip swift-0007bbfa11e74f2a76aebc83995843ee8f6840ab.tar.bz2 | |
Have StreamStack own intermediate layers via std::unique_ptr
Test-Information:
`./scons test=all` passes with no errors on macOS with clang
7 master.
Change-Id: I31765ac15750dc5af7b70d1a85171dc8e3590181
Diffstat (limited to 'Swiften/Session/BasicSessionStream.h')
| -rw-r--r-- | Swiften/Session/BasicSessionStream.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Swiften/Session/BasicSessionStream.h b/Swiften/Session/BasicSessionStream.h index 48b3d63..472b5cc 100644 --- a/Swiften/Session/BasicSessionStream.h +++ b/Swiften/Session/BasicSessionStream.h @@ -1,7 +1,7 @@ /* - * Copyright (c) 2010-2016 Isode Limited. + * Copyright (c) 2010-2018 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once @@ -83,13 +83,10 @@ namespace Swift { std::shared_ptr<Connection> connection; TLSContextFactory* tlsContextFactory; TimerFactory* timerFactory; XMPPLayer* xmppLayer; ConnectionLayer* connectionLayer; - CompressionLayer* compressionLayer; - TLSLayer* tlsLayer; - WhitespacePingLayer* whitespacePingLayer; StreamStack* streamStack; TLSOptions tlsOptions_; }; } |
Swift