KPartition: Drop SetParent().
A comment indicated it "must" only be called in Add/RemoveChild only. So the field is just modified there now.
This commit is contained in:
@@ -137,8 +137,6 @@ public:
|
||||
|
||||
void SetDevice(KDiskDevice *device);
|
||||
KDiskDevice *Device() const;
|
||||
|
||||
void SetParent(KPartition *parent);
|
||||
KPartition *Parent() const;
|
||||
|
||||
status_t AddChild(KPartition *partition, int32 index = -1);
|
||||
|
||||
Reference in New Issue
Block a user