aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppInvokable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/QXmppInvokable.cpp')
-rw-r--r--src/client/QXmppInvokable.cpp2
1 files changed, 1 insertions, 1 deletions
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<QVariant
QList<QByteArray> QXmppInvokable::paramTypes(const QList<QVariant> &params)
{
QList<QByteArray> types;
- for (const auto &variant : qAsConst(params))
+ for (const auto &variant : std::as_const(params))
types << variant.typeName();
return types;
}