X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fctcpevent.h;h=f9d7f4375a91ebb02629be80819f0a1611aacfa8;hp=0a31077b8c323d4e18e8d7fa0020caed1bf83215;hb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;hpb=80950b87640acfb2a75902f8aabf3419da094bf4 diff --git a/src/common/ctcpevent.h b/src/common/ctcpevent.h index 0a31077b..f9d7f437 100644 --- a/src/common/ctcpevent.h +++ b/src/common/ctcpevent.h @@ -25,6 +25,7 @@ #include "ircevent.h" #include +#include class COMMON_EXPORT CtcpEvent : public IrcEvent { @@ -34,14 +35,14 @@ public: Reply }; - explicit CtcpEvent(EventManager::EventType type, Network *network, const QString &prefix, const QString &target, - CtcpType ctcpType, const QString &ctcpCmd, const QString ¶m, + explicit CtcpEvent(EventManager::EventType type, Network *network, const QString &prefix, QString target, + CtcpType ctcpType, QString ctcpCmd, QString param, const QDateTime ×tamp = QDateTime(), const QUuid &uuid = QUuid()) : IrcEvent(type, network, prefix), _ctcpType(ctcpType), - _ctcpCmd(ctcpCmd), - _target(target), - _param(param), + _ctcpCmd(std::move(ctcpCmd)), + _target(std::move(target)), + _param(std::move(param)), _uuid(uuid) { setTimestamp(timestamp);