Make gcc2 happy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38284 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6555d1e061
commit
1f50b439bb
@ -532,7 +532,7 @@ bool
|
|||||||
AddOnMonitorHandler::_FindEntry(const node_ref& entry, const EntryList& list,
|
AddOnMonitorHandler::_FindEntry(const node_ref& entry, const EntryList& list,
|
||||||
EntryList::iterator& it) const
|
EntryList::iterator& it) const
|
||||||
{
|
{
|
||||||
for (; it != list.end(); it++) {
|
for (; EntryList::const_iterator(it) != list.end(); it++) {
|
||||||
if (it->nref == entry)
|
if (it->nref == entry)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -544,7 +544,7 @@ bool
|
|||||||
AddOnMonitorHandler::_FindEntry(const char* name, const EntryList& list,
|
AddOnMonitorHandler::_FindEntry(const char* name, const EntryList& list,
|
||||||
EntryList::iterator& it) const
|
EntryList::iterator& it) const
|
||||||
{
|
{
|
||||||
for (; it != list.end(); it++) {
|
for (; EntryList::const_iterator(it) != list.end(); it++) {
|
||||||
if (strcmp(it->name, name) == 0)
|
if (strcmp(it->name, name) == 0)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -602,7 +602,7 @@ AddOnMonitorHandler::_FindDirectory(const node_ref& directoryNodeRef,
|
|||||||
DirectoryList::iterator& it,
|
DirectoryList::iterator& it,
|
||||||
const DirectoryList::const_iterator& end) const
|
const DirectoryList::const_iterator& end) const
|
||||||
{
|
{
|
||||||
for (; it != end; it++) {
|
for (; DirectoryList::const_iterator(it) != end; it++) {
|
||||||
if (it->nref == directoryNodeRef)
|
if (it->nref == directoryNodeRef)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user