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 ...@@ -101,7 +101,7 @@ class ColorMixTag : public Grantlee::AbstractNodeFactory
Q_OBJECT Q_OBJECT
public: public:
explicit ColorMixTag(QObject *parent = nullptr); explicit ColorMixTag(QObject *parent = nullptr);
~ColorMixTag(); ~ColorMixTag() override;
Grantlee::Node *getNode(const QString &tagContent, Grantlee::Parser *p) const override; Grantlee::Node *getNode(const QString &tagContent, Grantlee::Parser *p) const override;
}; };
...@@ -110,7 +110,7 @@ class ColorMixNode : public Grantlee::Node ...@@ -110,7 +110,7 @@ class ColorMixNode : public Grantlee::Node
Q_OBJECT Q_OBJECT
public: public:
explicit ColorMixNode(const QString &color1Name, const QString &color2Name, double ratio, const QString &varName, QObject *parent = nullptr); 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; void render(Grantlee::OutputStream *stream, Grantlee::Context *c) const override;
private: private:
......
...@@ -42,7 +42,7 @@ class IconTag : public Grantlee::AbstractNodeFactory ...@@ -42,7 +42,7 @@ class IconTag : public Grantlee::AbstractNodeFactory
Q_OBJECT Q_OBJECT
public: public:
explicit IconTag(QObject *parent = nullptr); explicit IconTag(QObject *parent = nullptr);
~IconTag(); ~IconTag() override;
Grantlee::Node *getNode(const QString &tagContent, Grantlee::Parser *p) const override; Grantlee::Node *getNode(const QString &tagContent, Grantlee::Parser *p) const override;
}; };
...@@ -53,7 +53,7 @@ class IconNode : public Grantlee::Node ...@@ -53,7 +53,7 @@ class IconNode : public Grantlee::Node
public: public:
explicit IconNode(QObject *parent = nullptr); explicit IconNode(QObject *parent = nullptr);
IconNode(const QString &iconName, int sizeOrGroup, const QString &altText, 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; void render(Grantlee::OutputStream *stream, Grantlee::Context *c) const override;
......
...@@ -18,7 +18,7 @@ class KDEGrantleePlugin : public QObject, public Grantlee::TagLibraryInterface ...@@ -18,7 +18,7 @@ class KDEGrantleePlugin : public QObject, public Grantlee::TagLibraryInterface
public: public:
explicit KDEGrantleePlugin(QObject *parent = nullptr); explicit KDEGrantleePlugin(QObject *parent = nullptr);
~KDEGrantleePlugin(); ~KDEGrantleePlugin() override;
QHash<QString, Grantlee::Filter *> filters(const QString &name) override; QHash<QString, Grantlee::Filter *> filters(const QString &name) override;
QHash<QString, Grantlee::AbstractNodeFactory *> nodeFactories(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