aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttypelayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/objecttypelayout.h')
-rw-r--r--tests/libsample/objecttypelayout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/objecttypelayout.h b/tests/libsample/objecttypelayout.h
index 5662ac339..1f05b7495 100644
--- a/tests/libsample/objecttypelayout.h
+++ b/tests/libsample/objecttypelayout.h
@@ -49,6 +49,8 @@ public:
virtual bool isLayoutType() { return true; }
static ObjectTypeLayout* create() { return new ObjectTypeLayout(); }
+
+ virtual ObjectType* takeChild(const Str& name) { return ObjectType::takeChild(name); }
private:
std::list<ObjectType*> m_objects;