kernel: Mark TeamThreadTable::GetIterator() const.

We use it only while holding a "read" lock, so it must be.
This commit is contained in:
Augustin Cavalier 2019-01-31 20:03:28 -05:00
parent 8140719777
commit d745129c7a

View File

@ -98,7 +98,7 @@ public:
/*! Gets an iterator.
The iterator iterates through all, including invisible, entries!
*/
Iterator GetIterator()
Iterator GetIterator() const
{
return Iterator(fList.Head());
}