modernize: Use '= default' instead of empty ctor/dtor bodies
[quassel.git] / src / core / coreauthhandler.h
index dc7532e..e26e94c 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2016 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  *
@@ -31,7 +31,7 @@ class CoreAuthHandler : public AuthHandler
     Q_OBJECT
 
 public:
-    CoreAuthHandler(QTcpSocket *socket, QObject *parent = 0);
+    CoreAuthHandler(QTcpSocket *socket, QObject *parent = nullptr);
 
 signals:
     void handshakeComplete(RemotePeer *peer, UserId uid);
@@ -39,9 +39,9 @@ signals:
 private:
     using AuthHandler::handle;
 
-    void handle(const Protocol::RegisterClient &msg);
-    void handle(const Protocol::SetupData &msg);
-    void handle(const Protocol::Login &msg);
+    void handle(const Protocol::RegisterClient &msg) override;
+    void handle(const Protocol::SetupData &msg) override;
+    void handle(const Protocol::Login &msg) override;
 
     void setPeer(RemotePeer *peer);
     void startSsl();