From 75eef8892f761cdcbaba5bc59f974306843c4e80 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Fri, 29 Oct 2010 13:04:38 +0000 Subject: [PATCH] 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 --- src/servers/index/VolumeWatcher.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/servers/index/VolumeWatcher.cpp b/src/servers/index/VolumeWatcher.cpp index c153d88c64..4192c8285a 100644 --- a/src/servers/index/VolumeWatcher.cpp +++ b/src/servers/index/VolumeWatcher.cpp @@ -258,22 +258,22 @@ VolumeWorker::_Work() _SetBusy(true); for (unsigned int i = 0; i < collection.createdList->size() || Stopped(); i++) - AnalyseEntry(collection.createdList->at(i)); + AnalyseEntry((*collection.createdList)[i]); collection.createdList->clear(); for (unsigned int i = 0; i < collection.deletedList->size() || Stopped(); i++) - DeleteEntry(collection.deletedList->at(i)); + DeleteEntry((*collection.deletedList)[i]); collection.deletedList->clear(); for (unsigned int i = 0; i < collection.modifiedList->size() || Stopped(); i++) - AnalyseEntry(collection.modifiedList->at(i)); + AnalyseEntry((*collection.modifiedList)[i]); collection.modifiedList->clear(); for (unsigned int i = 0; i < collection.movedList->size() || Stopped(); i++) - MoveEntry(collection.movedFromList->at(i), collection.movedList->at(i)); + MoveEntry((*collection.movedFromList)[i], (*collection.movedList)[i]); collection.movedList->clear(); collection.movedFromList->clear(); @@ -385,6 +385,7 @@ SwapEntryRefVector::CurrentList() VolumeWatcher::VolumeWatcher(const BVolume& volume) : VolumeWatcherBase(volume), + BLooper("VolumeWatcher"), fWatching(false), fWatchNameHandler(this),