Got rid of the List template class in the disk device manager source dir. Instead we use the Vector based Kernel Utils classes now. Various related changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3810 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
#ifndef _K_DISK_DEVICE_PARTITION_H
|
||||
#define _K_DISK_DEVICE_PARTITION_H
|
||||
|
||||
#include <Vector.h>
|
||||
|
||||
#include "disk_device_manager.h"
|
||||
#include "List.h"
|
||||
|
||||
// partition flags
|
||||
// TODO: move to another header (must be accessible from userland API impl.)
|
||||
@@ -164,8 +165,10 @@ private:
|
||||
static int32 _NextID();
|
||||
|
||||
protected:
|
||||
typedef Vector<KPartition*> PartitionVector;
|
||||
|
||||
partition_data fPartitionData;
|
||||
List<KPartition*> fChildren;
|
||||
PartitionVector fChildren;
|
||||
KDiskDevice *fDevice;
|
||||
KPartition *fParent;
|
||||
KDiskSystem *fDiskSystem;
|
||||
|
||||
Reference in New Issue
Block a user