diff options
| author | Melvin Keskin <melvo@olomono.de> | 2022-01-08 08:26:46 +0000 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-01-15 14:04:15 +0100 |
| commit | fd11e024a6079be3e0bc62911b6e3070c7553224 (patch) | |
| tree | 199a3d658bc1641259faffd588534788fadb05dd /src/base/QXmppSendResult.h | |
| parent | ee1ea9091f128164f91d29d7a3598d792326c1a7 (diff) | |
| download | qxmpp-fd11e024a6079be3e0bc62911b6e3070c7553224.tar.gz | |
Run 'clang-format' on all files
Diffstat (limited to 'src/base/QXmppSendResult.h')
| -rw-r--r-- | src/base/QXmppSendResult.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/base/QXmppSendResult.h b/src/base/QXmppSendResult.h index aa288438..eeb9bc9e 100644 --- a/src/base/QXmppSendResult.h +++ b/src/base/QXmppSendResult.h @@ -20,9 +20,9 @@ struct SendError { /// Describes the type of an error. enum Type : uint8_t { - SocketWriteError, ///< The packet was written to the socket with no success (only happens when Stream Management is disabled). - Disconnected, ///< The packet couldn't be sent because the connection hasn't been (re)established. - EncryptionError, ///< The packet couldn't be sent because prior encryption failed. + SocketWriteError, ///< The packet was written to the socket with no success (only happens when Stream Management is disabled). + Disconnected, ///< The packet couldn't be sent because the connection hasn't been (re)established. + EncryptionError, ///< The packet couldn't be sent because prior encryption failed. }; /// Text describing the error. @@ -36,7 +36,7 @@ struct SendError /// /// \since QXmpp 1.5 /// -struct SendSuccess +struct SendSuccess { /// Indicates whether the packet has been acknowledged by the other peer. bool acknowledged = false; @@ -49,4 +49,4 @@ using SendResult = std::variant<SendSuccess, SendError>; } -#endif // QXMPPSENDRESULT_H +#endif // QXMPPSENDRESULT_H |
