kernel: Mark TeamThreadTable::GetIterator() const.
We use it only while holding a "read" lock, so it must be.
This commit is contained in:
@@ -98,7 +98,7 @@ public:
|
|||||||
/*! Gets an iterator.
|
/*! Gets an iterator.
|
||||||
The iterator iterates through all, including invisible, entries!
|
The iterator iterates through all, including invisible, entries!
|
||||||
*/
|
*/
|
||||||
Iterator GetIterator()
|
Iterator GetIterator() const
|
||||||
{
|
{
|
||||||
return Iterator(fList.Head());
|
return Iterator(fList.Head());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user