projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Provide helper for resolving overloaded function pointers
[quassel.git]
/
src
/
common
/
bufferinfo.cpp
diff --git
a/src/common/bufferinfo.cpp
b/src/common/bufferinfo.cpp
index
b169f5b
..
2eaa2ed
100644
(file)
--- a/
src/common/bufferinfo.cpp
+++ b/
src/common/bufferinfo.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
6
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"
@@
-30,8
+31,6
@@
BufferInfo::BufferInfo()
: _bufferId(0),
_netid(0),
BufferInfo::BufferInfo()
: _bufferId(0),
_netid(0),
- _type(InvalidBuffer),
- _groupId(0),
_bufferName(QString())
{
}
_bufferName(QString())
{
}
@@
-42,7
+41,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)
)
{
}
{
}