Commit 53b26a26 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override on destructor

parent 3ec90507
Pipeline #43784 passed with stage
in 7 minutes and 57 seconds
......@@ -101,7 +101,7 @@ class ColorMixTag : public Grantlee::AbstractNodeFactory
Q_OBJECT
public:
explicit ColorMixTag(QObject *parent = nullptr);
~ColorMixTag();
~ColorMixTag() override;
Grantlee::Node *getNode(const QString &tagContent, Grantlee::Parser *p) const override;
};
......@@ -110,7 +110,7 @@ class ColorMixNode : public Grantlee::Node
Q_OBJECT
public:
explicit ColorMixNode(const QString &color1Name, const QString &color2Name, double ratio, const QString &varName, QObject *parent = nullptr);
~ColorMixNode();
~ColorMixNode() override;
void render(Grantlee::OutputStream *stream, Grantlee::Context *c) const override;
private:
......
......@@ -42,7 +42,7 @@ class IconTag : public Grantlee::AbstractNodeFactory
Q_OBJECT
public:
explicit IconTag(QObject *parent = nullptr);
~IconTag();
~IconTag() override;
Grantlee::Node *getNode(const QString &tagContent, Grantlee::Parser *p) const override;
};
......@@ -53,7 +53,7 @@ class IconNode : public Grantlee::Node
public:
explicit IconNode(QObject *parent = nullptr);
IconNode(const QString &iconName, int sizeOrGroup, const QString &altText, QObject *parent = nullptr);
~IconNode();
~IconNode() override;
void render(Grantlee::OutputStream *stream, Grantlee::Context *c) const override;
......
......@@ -18,7 +18,7 @@ class KDEGrantleePlugin : public QObject, public Grantlee::TagLibraryInterface
public:
explicit KDEGrantleePlugin(QObject *parent = nullptr);
~KDEGrantleePlugin();
~KDEGrantleePlugin() override;
QHash<QString, Grantlee::Filter *> filters(const QString &name) override;
QHash<QString, Grantlee::AbstractNodeFactory *> nodeFactories(const QString &name) override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment