modernize: Use nullptr
[quassel.git] / src / core / ctcpparser.h
index 5847785..5808a71 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2013 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  *
@@ -36,7 +36,7 @@ class CtcpParser : public QObject
     Q_OBJECT
 
 public:
-    CtcpParser(CoreSession *coreSession, QObject *parent = 0);
+    CtcpParser(CoreSession *coreSession, QObject *parent = nullptr);
 
     inline CoreSession *coreSession() const { return _coreSession; }
 
@@ -88,7 +88,7 @@ private:
         QString bufferName;
         QList<QByteArray> replies;
 
-        CtcpReply() : network(0) {}
+        CtcpReply() : network(nullptr) {}
         CtcpReply(CoreNetwork *net, const QString &buf) : network(net), bufferName(buf) {}
     };