From 84b387c198a1ad368c0fc16a776ecaef85e3b1b2 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Wed, 17 Mar 2021 17:20:24 +0100 Subject: Replace qAsConst by std::as_const --- src/client/QXmppInvokable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/QXmppInvokable.cpp') diff --git a/src/client/QXmppInvokable.cpp b/src/client/QXmppInvokable.cpp index 4a60c317..e407aa4f 100644 --- a/src/client/QXmppInvokable.cpp +++ b/src/client/QXmppInvokable.cpp @@ -96,7 +96,7 @@ QVariant QXmppInvokable::dispatch(const QByteArray &method, const QList QXmppInvokable::paramTypes(const QList ¶ms) { QList types; - for (const auto &variant : qAsConst(params)) + for (const auto &variant : std::as_const(params)) types << variant.typeName(); return types; } -- cgit v1.2.3