diff options
| author | Linus Jahn <lnj@kaidan.im> | 2020-07-11 22:36:38 +0200 |
|---|---|---|
| committer | LNJ <lnj@kaidan.im> | 2020-07-12 21:32:41 +0200 |
| commit | d1978692b8cde1e5d785e31e4d443ae7a52f143f (patch) | |
| tree | 2907a7900ecd3402ba8acfd4707ae69f71b49454 /examples/example_1_echoClient/example_1_echoClient.cpp | |
| parent | 317c87325b709fc6b5a1b363120a57299092a80f (diff) | |
QXmppStanza::Error: Use std::optional<> internally
This makes the variables for the error type and condition an
std::optional<> as this makes the meaning clearer than hidden -1 values
created by dubious casts.
For now, the API is not changed, because we can't replace the getter
easily. We could do something like type() and optionalType().
Diffstat (limited to 'examples/example_1_echoClient/example_1_echoClient.cpp')
0 files changed, 0 insertions, 0 deletions
