diff options
author | Tobias Markmann <tm@ayena.de> | 2017-03-13 08:43:28 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-03-13 09:07:42 (GMT) |
commit | 9601c3e0475a4d05c4c245183c787bd7de805be6 (patch) | |
tree | 1e9aa5e23a6c517eb8b0f5cdb139808af5afb499 /Swiften/Network | |
parent | a7ea0a4f7899ce7365cdc293089641ac2b39dfb8 (diff) | |
download | swift-9601c3e0475a4d05c4c245183c787bd7de805be6.zip swift-9601c3e0475a4d05c4c245183c787bd7de805be6.tar.bz2 |
Add LogSerializer for BOSHError
Test-Information:
Tested and used it during a recent debugging session on
macOS 10.12.3 with recent clang.
Change-Id: Ia4883a69a94f962006a39b294d6b9b67e0990541
Diffstat (limited to 'Swiften/Network')
-rw-r--r-- | Swiften/Network/BOSHConnection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Network/BOSHConnection.h b/Swiften/Network/BOSHConnection.h index b75e51f..1409ae6 100644 --- a/Swiften/Network/BOSHConnection.h +++ b/Swiften/Network/BOSHConnection.h @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2011-2016 Isode Limited. + * Copyright (c) 2011-2017 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -50,7 +50,7 @@ namespace Swift { NoError}; BOSHError(Type type) : SessionStream::SessionStreamError(SessionStream::SessionStreamError::ConnectionReadError), type(type) {} - Type getType() {return type;} + Type getType() const {return type;} typedef std::shared_ptr<BOSHError> ref; private: |