modernize: Use '= default' instead of empty ctor/dtor bodies
[quassel.git] / src / core / ctcpparser.h
index 9630f6c..0118be2 100644 (file)
@@ -85,11 +85,11 @@ private:
     CoreSession *_coreSession;
 
     struct CtcpReply {
-        CoreNetwork *network;
+        CoreNetwork *network{nullptr};
         QString bufferName;
         QList<QByteArray> replies;
 
-        CtcpReply() : network(nullptr) {}
+        CtcpReply() = default;
         CtcpReply(CoreNetwork *net, QString buf) : network(net), bufferName(std::move(buf)) {}
     };