Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Use "override" tag also in DATAINFORMATION_CLONE_DECL macro

parent 90ea05b1
......@@ -40,7 +40,7 @@
/** Implement the clone() method and add the copy constructor declaration
* After this macro visibility will be set to protected */
#define DATAINFORMATION_CLONE_DECL(type, supertype) public: \
virtual inline type* clone() const { return new type(*this); } \
inline type* clone() const override { return new type(*this); } \
protected: \
type(const type& d)
......
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