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
/
common
/
bufferinfo.cpp
diff --git
a/src/common/bufferinfo.cpp
b/src/common/bufferinfo.cpp
index
5ff7f1f
..
8ac1f4b
100644
(file)
--- a/
src/common/bufferinfo.cpp
+++ b/
src/common/bufferinfo.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
4
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-22,6
+22,7
@@
#include <QDataStream>
#include <QDebug>
#include <QByteArray>
#include <QDataStream>
#include <QDebug>
#include <QByteArray>
+#include <utility>
#include "bufferinfo.h"
#include "bufferinfo.h"
@@
-42,7
+43,7
@@
BufferInfo::BufferInfo(BufferId id, NetworkId networkid, Type type, uint gid, Q
_netid(networkid),
_type(type),
_groupId(gid),
_netid(networkid),
_type(type),
_groupId(gid),
- _bufferName(
buf
)
+ _bufferName(
std::move(buf)
)
{
}
{
}