diff options
Diffstat (limited to 'tests/libsample')
-rw-r--r-- | tests/libsample/objecttype.cpp | 6 | ||||
-rw-r--r-- | tests/libsample/objecttype.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/tests/libsample/objecttype.cpp b/tests/libsample/objecttype.cpp index c253c610f..e4fce71e3 100644 --- a/tests/libsample/objecttype.cpp +++ b/tests/libsample/objecttype.cpp @@ -283,9 +283,3 @@ ObjectType* ObjectType::createChild(ObjectType* parent) { return new ObjectType(parent); } - -std::size_t ObjectType::createObjectType() -{ - void* addr = new ObjectType(); - return (std::size_t) addr; -} diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h index 84812a8d6..f032a09f8 100644 --- a/tests/libsample/objecttype.h +++ b/tests/libsample/objecttype.h @@ -106,7 +106,6 @@ public: virtual bool isPython() { return false; } void callVirtualCreateChild(); virtual ObjectType* createChild(ObjectType* parent); - static std::size_t createObjectType(); //return a parent from C++ ObjectType* getCppParent() { |