Make gcc2 happy and give the VolumeWatcher BLooper a name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39186 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -258,22 +258,22 @@ VolumeWorker::_Work()
|
|||||||
_SetBusy(true);
|
_SetBusy(true);
|
||||||
for (unsigned int i = 0; i < collection.createdList->size() || Stopped();
|
for (unsigned int i = 0; i < collection.createdList->size() || Stopped();
|
||||||
i++)
|
i++)
|
||||||
AnalyseEntry(collection.createdList->at(i));
|
AnalyseEntry((*collection.createdList)[i]);
|
||||||
collection.createdList->clear();
|
collection.createdList->clear();
|
||||||
|
|
||||||
for (unsigned int i = 0; i < collection.deletedList->size() || Stopped();
|
for (unsigned int i = 0; i < collection.deletedList->size() || Stopped();
|
||||||
i++)
|
i++)
|
||||||
DeleteEntry(collection.deletedList->at(i));
|
DeleteEntry((*collection.deletedList)[i]);
|
||||||
collection.deletedList->clear();
|
collection.deletedList->clear();
|
||||||
|
|
||||||
for (unsigned int i = 0; i < collection.modifiedList->size() || Stopped();
|
for (unsigned int i = 0; i < collection.modifiedList->size() || Stopped();
|
||||||
i++)
|
i++)
|
||||||
AnalyseEntry(collection.modifiedList->at(i));
|
AnalyseEntry((*collection.modifiedList)[i]);
|
||||||
collection.modifiedList->clear();
|
collection.modifiedList->clear();
|
||||||
|
|
||||||
for (unsigned int i = 0; i < collection.movedList->size() || Stopped();
|
for (unsigned int i = 0; i < collection.movedList->size() || Stopped();
|
||||||
i++)
|
i++)
|
||||||
MoveEntry(collection.movedFromList->at(i), collection.movedList->at(i));
|
MoveEntry((*collection.movedFromList)[i], (*collection.movedList)[i]);
|
||||||
collection.movedList->clear();
|
collection.movedList->clear();
|
||||||
collection.movedFromList->clear();
|
collection.movedFromList->clear();
|
||||||
|
|
||||||
@@ -385,6 +385,7 @@ SwapEntryRefVector::CurrentList()
|
|||||||
VolumeWatcher::VolumeWatcher(const BVolume& volume)
|
VolumeWatcher::VolumeWatcher(const BVolume& volume)
|
||||||
:
|
:
|
||||||
VolumeWatcherBase(volume),
|
VolumeWatcherBase(volume),
|
||||||
|
BLooper("VolumeWatcher"),
|
||||||
|
|
||||||
fWatching(false),
|
fWatching(false),
|
||||||
fWatchNameHandler(this),
|
fWatchNameHandler(this),
|
||||||
|
|||||||
Reference in New Issue
Block a user