modernize: Use override instead of virtual
[quassel.git] / src / common / ctcpevent.h
index 1f0635b..0a31077 100644 (file)
@@ -70,10 +70,10 @@ public:
 
 protected:
     explicit CtcpEvent(EventManager::EventType type, QVariantMap &map, Network *network);
 
 protected:
     explicit CtcpEvent(EventManager::EventType type, QVariantMap &map, Network *network);
-    void toVariantMap(QVariantMap &map) const;
+    void toVariantMap(QVariantMap &map) const override;
 
 
-    virtual inline QString className() const { return "CtcpEvent"; }
-    virtual inline void debugInfo(QDebug &dbg) const
+    inline QString className() const override { return "CtcpEvent"; }
+    inline void debugInfo(QDebug &dbg) const override
     {
         NetworkEvent::debugInfo(dbg);
         dbg << ", prefix = " << qPrintable(prefix())
     {
         NetworkEvent::debugInfo(dbg);
         dbg << ", prefix = " << qPrintable(prefix())