From fa6e1fd7ffe56f2ec547c43048159a56aa9c9300 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 19 Jan 2020 18:43:11 +0100 Subject: QXmppRegisterIq: Do not pass registerType by const-ref --- src/base/QXmppRegisterIq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/QXmppRegisterIq.cpp') diff --git a/src/base/QXmppRegisterIq.cpp b/src/base/QXmppRegisterIq.cpp index 825d89c9..77d759c8 100644 --- a/src/base/QXmppRegisterIq.cpp +++ b/src/base/QXmppRegisterIq.cpp @@ -183,7 +183,7 @@ QXmppRegisterIq::RegisterType QXmppRegisterIq::registerType() const /// /// \since QXmpp 1.2 -void QXmppRegisterIq::setRegisterType(const QXmppRegisterIq::RegisterType &type) +void QXmppRegisterIq::setRegisterType(QXmppRegisterIq::RegisterType type) { d->registerType = type; } -- cgit v1.2.3