aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/objecttype.cpp')
-rw-r--r--tests/libsample/objecttype.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libsample/objecttype.cpp b/tests/libsample/objecttype.cpp
index e4fce71e..c253c610 100644
--- a/tests/libsample/objecttype.cpp
+++ b/tests/libsample/objecttype.cpp
@@ -283,3 +283,9 @@ ObjectType* ObjectType::createChild(ObjectType* parent)
{
return new ObjectType(parent);
}
+
+std::size_t ObjectType::createObjectType()
+{
+ void* addr = new ObjectType();
+ return (std::size_t) addr;
+}