X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fbufferinfo.cpp;h=8ac1f4b04a0f6b3f80f82806e8f2b562480786a7;hp=bea0f78d7a3295480a51ee69d1603dcf1af3a40c;hb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b diff --git a/src/common/bufferinfo.cpp b/src/common/bufferinfo.cpp index bea0f78d..8ac1f4b0 100644 --- a/src/common/bufferinfo.cpp +++ b/src/common/bufferinfo.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * 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 * @@ -22,6 +22,7 @@ #include #include #include +#include #include "bufferinfo.h" @@ -42,7 +43,7 @@ BufferInfo::BufferInfo(BufferId id, NetworkId networkid, Type type, uint gid, Q _netid(networkid), _type(type), _groupId(gid), - _bufferName(buf) + _bufferName(std::move(buf)) { }