aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppRegisterIq.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-01-19 18:43:11 +0100
committerLNJ <lnj@kaidan.im>2020-01-19 19:52:02 +0100
commitfa6e1fd7ffe56f2ec547c43048159a56aa9c9300 (patch)
tree01eaeae3ab277f1211d294f772c255be6b2dc229 /src/base/QXmppRegisterIq.cpp
parent940cd79429c4e26fdb31bd98cbf1b78b2964d852 (diff)
downloadqxmpp-fa6e1fd7ffe56f2ec547c43048159a56aa9c9300.tar.gz
QXmppRegisterIq: Do not pass registerType by const-ref
Diffstat (limited to 'src/base/QXmppRegisterIq.cpp')
-rw-r--r--src/base/QXmppRegisterIq.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}