projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Pass arguments by value and move in constructors
[quassel.git]
/
src
/
qtui
/
chatitem.h
diff --git
a/src/qtui/chatitem.h
b/src/qtui/chatitem.h
index
41937fc
..
a945795
100644
(file)
--- a/
src/qtui/chatitem.h
+++ b/
src/qtui/chatitem.h
@@
-31,6
+31,7
@@
#include "qtui.h"
#include <QTextLayout>
#include "qtui.h"
#include <QTextLayout>
+#include <utility>
class ChatLine;
class ChatView;
class ChatLine;
class ChatView;
@@
-249,7
+250,7
@@
struct ContentsChatItemPrivate {
Clickable currentClickable;
Clickable activeClickable;
Clickable currentClickable;
Clickable activeClickable;
- ContentsChatItemPrivate(
const ClickableList &c, ContentsChatItem *parent) : contentsItem(parent), clickables(c
) {}
+ ContentsChatItemPrivate(
ClickableList c, ContentsChatItem *parent) : contentsItem(parent), clickables(std::move(c)
) {}
};
class ContentsChatItem::WrapColumnFinder
};
class ContentsChatItem::WrapColumnFinder