modernize: Use '= default' instead of empty ctor/dtor bodies
[quassel.git] / src / uisupport / abstractbuffercontainer.h
index 5b6bb7b..9c02f26 100644 (file)
@@ -35,7 +35,6 @@ class UISUPPORT_EXPORT AbstractBufferContainer : public AbstractItemView
 
 public:
     AbstractBufferContainer(QWidget *parent);
-    virtual ~AbstractBufferContainer();
 
     inline BufferId currentBuffer() const { return _currentBuffer; }
 
@@ -60,8 +59,8 @@ protected:
     virtual inline bool autoMarkerLine() const { return true; }
 
 protected slots:
-    virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous);
-    virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);
+    void currentChanged(const QModelIndex &current, const QModelIndex &previous) override;
+    void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) override;
 
     //! Show the given chat view
     /** This method is called when the given chat view should be displayed. Use this e.g. for
@@ -83,6 +82,6 @@ private:
 class AbstractChatView
 {
 public:
-    virtual ~AbstractChatView() {};
+    virtual ~AbstractChatView() = default;
     virtual MsgId lastMsgId() const = 0;
 };