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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libsample/objecttypelayout.h b/tests/libsample/objecttypelayout.h
index ba39fd330..5662ac339 100644
--- a/tests/libsample/objecttypelayout.h
+++ b/tests/libsample/objecttypelayout.h
@@ -48,6 +48,7 @@ public:
std::list<ObjectType*> objects() const;
virtual bool isLayoutType() { return true; }
+ static ObjectTypeLayout* create() { return new ObjectTypeLayout(); }
private:
std::list<ObjectType*> m_objects;