/***************************************************************************
- * Copyright (C) 2005-2015 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include <QDataStream>
#include <QDebug>
#include <QByteArray>
+#include <utility>
#include "bufferinfo.h"
BufferInfo::BufferInfo()
: _bufferId(0),
_netid(0),
- _type(InvalidBuffer),
- _groupId(0),
_bufferName(QString())
{
}
_netid(networkid),
_type(type),
_groupId(gid),
- _bufferName(buf)
+ _bufferName(std::move(buf))
{
}