X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuimessageprocessor.h;h=bf437660c319998b75f71fddc697a1573abe0f13;hp=d6d39f38899ea2486f7607ffa09d36010ca68c96;hb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24 diff --git a/src/qtui/qtuimessageprocessor.h b/src/qtui/qtuimessageprocessor.h index d6d39f38..bf437660 100644 --- a/src/qtui/qtuimessageprocessor.h +++ b/src/qtui/qtuimessageprocessor.h @@ -22,6 +22,7 @@ #define QTUIMESSAGEPROCESSOR_H_ #include +#include #include "abstractmessageprocessor.h" #include "expressionmatch.h" @@ -89,8 +90,8 @@ private: */ LegacyHighlightRule(QString contents, bool isRegEx, bool isCaseSensitive, bool isEnabled, QString chanName) - : _contents(contents), _isRegEx(isRegEx), _isCaseSensitive(isCaseSensitive), - _isEnabled(isEnabled), _chanName(chanName) + : _contents(std::move(contents)), _isRegEx(isRegEx), _isCaseSensitive(isCaseSensitive), + _isEnabled(isEnabled), _chanName(std::move(chanName)) { _cacheInvalid = true; // Cache expression matches on construction