X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fctcpparser.h;h=0118be24e674b5fbf40587695fe495871ca9cf7d;hp=9630f6cdec0cd4acd4ae81cdece4da0a04a1025b;hb=8f2ee00f4edef1693628d3af0bdee84d725eb754;hpb=3a3e844f9fcfd12235a0086af75ecd503b621ef4 diff --git a/src/core/ctcpparser.h b/src/core/ctcpparser.h index 9630f6cd..0118be24 100644 --- a/src/core/ctcpparser.h +++ b/src/core/ctcpparser.h @@ -85,11 +85,11 @@ private: CoreSession *_coreSession; struct CtcpReply { - CoreNetwork *network; + CoreNetwork *network{nullptr}; QString bufferName; QList replies; - CtcpReply() : network(nullptr) {} + CtcpReply() = default; CtcpReply(CoreNetwork *net, QString buf) : network(net), bufferName(std::move(buf)) {} };