summaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/objecttype.h')
-rw-r--r--tests/libsample/objecttype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h
index 74b6e40e..7ed9c5e0 100644
--- a/tests/libsample/objecttype.h
+++ b/tests/libsample/objecttype.h
@@ -69,7 +69,7 @@ public:
ObjectType* parent() const { return m_parent; }
const ObjectTypeList& children() const { return m_children; }
void killChild(const Str& name);
- void removeChild(const ObjectType *child);
+ void removeChild(ObjectType* child);
Str objectName() const;
void setObjectName(const Str& name);
@@ -83,7 +83,7 @@ private:
ObjectType(const ObjectType&);
ObjectType& operator=(const ObjectType&);
- Str* m_objectName;
+ Str m_objectName;
ObjectType* m_parent;
ObjectTypeList m_children;
};