aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/objecttypelayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/objecttypelayout.h')
-rw-r--r--sources/shiboken2/tests/libsample/objecttypelayout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/tests/libsample/objecttypelayout.h b/sources/shiboken2/tests/libsample/objecttypelayout.h
index 3fa8b9dbf..8524c1989 100644
--- a/sources/shiboken2/tests/libsample/objecttypelayout.h
+++ b/sources/shiboken2/tests/libsample/objecttypelayout.h
@@ -41,10 +41,10 @@ public:
void addObject(ObjectType* obj);
std::list<ObjectType*> objects() const;
- virtual bool isLayoutType() { return true; }
+ bool isLayoutType() override { return true; }
inline static ObjectTypeLayout* create() { return new ObjectTypeLayout(); }
- virtual ObjectType* takeChild(const Str& name) { return ObjectType::takeChild(name); }
+ ObjectType* takeChild(const Str& name) override { return ObjectType::takeChild(name); }
private:
std::list<ObjectType*> m_objects;