X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fhighlightrulemanager.h;h=5a2d4a87b36e7390f9446ad1c77eb78870550ca1;hp=addbbf66f5a41ed33292441689219814988e66e6;hb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;hpb=92fc8c5b119111a35ab8423c3cbde5b2a022badf diff --git a/src/common/highlightrulemanager.h b/src/common/highlightrulemanager.h index addbbf66..5a2d4a87 100644 --- a/src/common/highlightrulemanager.h +++ b/src/common/highlightrulemanager.h @@ -77,8 +77,8 @@ public: */ HighlightRule(int id, QString contents, bool isRegEx, bool isCaseSensitive, bool isEnabled, bool isInverse, QString sender, QString chanName) - : _id(id), _contents(contents), _isRegEx(isRegEx), _isCaseSensitive(isCaseSensitive), - _isEnabled(isEnabled), _isInverse(isInverse), _sender(sender), _chanName(chanName) + : _id(id), _contents(std::move(contents)), _isRegEx(isRegEx), _isCaseSensitive(isCaseSensitive), + _isEnabled(isEnabled), _isInverse(isInverse), _sender(std::move(sender)), _chanName(std::move(chanName)) { _cacheInvalid = true; // Cache expression matches on construction