diff options
author | Tobias Markmann <tm@ayena.de> | 2015-11-18 14:08:45 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-11-18 14:08:45 (GMT) |
commit | cda6fd478b3d8f7f30f771b18324db389a01b1b3 (patch) | |
tree | 2d71e6787a0e937701968b5ce440f01c74c911ca /Swiften/StreamStack/ConnectionLayer.h | |
parent | eb2cdc07f275d565b76940396381784e29125981 (diff) | |
download | swift-cda6fd478b3d8f7f30f771b18324db389a01b1b3.zip swift-cda6fd478b3d8f7f30f771b18324db389a01b1b3.tar.bz2 |
Fix virtual destructors and mismatching signal disconnection
Test-Information:
Unit tests pass on OS X 10.10.5.
Change-Id: I7b505513b4342001596ee8518bfdcf9e77c91479
Diffstat (limited to 'Swiften/StreamStack/ConnectionLayer.h')
-rw-r--r-- | Swiften/StreamStack/ConnectionLayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/StreamStack/ConnectionLayer.h b/Swiften/StreamStack/ConnectionLayer.h index 2ff1c3c..e89e24c 100644 --- a/Swiften/StreamStack/ConnectionLayer.h +++ b/Swiften/StreamStack/ConnectionLayer.h @@ -9,14 +9,14 @@ #include <boost/shared_ptr.hpp> #include <Swiften/Base/API.h> -#include <Swiften/StreamStack/LowLayer.h> #include <Swiften/Network/Connection.h> +#include <Swiften/StreamStack/LowLayer.h> namespace Swift { class SWIFTEN_API ConnectionLayer : public LowLayer { public: ConnectionLayer(boost::shared_ptr<Connection> connection); - ~ConnectionLayer(); + virtual ~ConnectionLayer(); void writeData(const SafeByteArray& data) { connection->write(data); |