aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libother/otherderived.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libother/otherderived.h')
-rw-r--r--sources/shiboken2/tests/libother/otherderived.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/shiboken2/tests/libother/otherderived.h b/sources/shiboken2/tests/libother/otherderived.h
index 792b7c408..88c711e1a 100644
--- a/sources/shiboken2/tests/libother/otherderived.h
+++ b/sources/shiboken2/tests/libother/otherderived.h
@@ -41,11 +41,11 @@ class LIBOTHER_API OtherDerived : public Abstract
{
public:
OtherDerived(int id = -1);
- virtual ~OtherDerived();
- virtual void pureVirtual();
- virtual void* pureVirtualReturningVoidPtr();
- virtual void unpureVirtual();
- virtual PrintFormat returnAnEnum() { return Short; }
+ ~OtherDerived() override;
+ void pureVirtual() override;
+ void* pureVirtualReturningVoidPtr() override;
+ void unpureVirtual() override;
+ PrintFormat returnAnEnum() override { return Short; }
inline void useObjectTypeFromOtherModule(ObjectType*) {}
inline Event useValueTypeFromOtherModule(const Event& e) { return e; }
@@ -59,7 +59,7 @@ public:
protected:
inline const char* getClassName() { return className(); }
- virtual const char* className() { return "OtherDerived"; }
+ virtual const char* className() override { return "OtherDerived"; }
};
#endif // OTHERDERIVED_H