diff options
| author | Linus Jahn <lnj@kaidan.im> | 2021-03-17 17:20:24 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2021-03-17 17:20:24 +0100 |
| commit | 84b387c198a1ad368c0fc16a776ecaef85e3b1b2 (patch) | |
| tree | 8cd1c64aa2f8eddb2e9986e542eb588d5e465a48 /src/client/QXmppOutgoingClient.cpp | |
| parent | 5cf21d869945f6d548805db6d685012cf61e4008 (diff) | |
| download | qxmpp-84b387c198a1ad368c0fc16a776ecaef85e3b1b2.tar.gz | |
Replace qAsConst by std::as_const
Diffstat (limited to 'src/client/QXmppOutgoingClient.cpp')
| -rw-r--r-- | src/client/QXmppOutgoingClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppOutgoingClient.cpp b/src/client/QXmppOutgoingClient.cpp index 583d93ed..a8bfb62d 100644 --- a/src/client/QXmppOutgoingClient.cpp +++ b/src/client/QXmppOutgoingClient.cpp @@ -457,7 +457,7 @@ void QXmppOutgoingClient::handleStanza(const QDomElement &nodeRecv) // determine SASL Authentication mechanism to use QStringList commonMechanisms; QString usedMechanism; - for (const auto &mechanism : qAsConst(supportedMechanisms)) { + for (const auto &mechanism : std::as_const(supportedMechanisms)) { if (features.authMechanisms().contains(mechanism)) commonMechanisms << mechanism; } |
