Ingo claims VisitEachPartition is the same as VisitAll, so I fixed this compile problem by changing VisitAll into VisitEachPartition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10160 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -549,7 +549,7 @@ main()
|
|||||||
}
|
}
|
||||||
// list all disk devices and partitions
|
// list all disk devices and partitions
|
||||||
DumpVisitor visitor;
|
DumpVisitor visitor;
|
||||||
roster.VisitAll(&visitor);
|
roster.VisitEachPartition(&visitor);
|
||||||
// list disk systems
|
// list disk systems
|
||||||
BDiskSystem diskSystem;
|
BDiskSystem diskSystem;
|
||||||
while (roster.GetNextDiskSystem(&diskSystem) == B_OK) {
|
while (roster.GetNextDiskSystem(&diskSystem) == B_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user