Commit 818be26f authored by Ronan's avatar Ronan

fix(object-tester): remove useless code

parent 3a88c110
......@@ -32,17 +32,12 @@ using namespace LinphonePrivate;
class TestObjectPrivate : public ObjectPrivate {
public:
TestObjectPrivate () = default;
TestObjectPrivate (const TestObjectPrivate &) : TestObjectPrivate() {}
};
class TestObject : public Object {
public:
TestObject () : Object(*new TestObjectPrivate) {}
TestObject (const TestObject &src) : Object(*new TestObjectPrivate(*src.getPrivate())) {}
private:
L_DECLARE_PRIVATE(TestObject);
};
......@@ -51,10 +46,8 @@ private:
static void check_object_creation () {
TestObject *object = new TestObject();
TestObject *object2 = new TestObject(*object);
delete object;
delete object2;
}
test_t object_tests[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment