mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-11 20:01:48 +00:00
parent
18d881cf0f
commit
dc205e6937
@ -258,7 +258,7 @@ namespace Kernel
|
|||||||
Entry * find(unsigned long const object_id)
|
Entry * find(unsigned long const object_id)
|
||||||
{
|
{
|
||||||
if (object_id == id()) return this;
|
if (object_id == id()) return this;
|
||||||
Entry * const subtree = child(object_id > id());
|
Entry * const subtree = Avl_node<Entry>::child(object_id > id());
|
||||||
return subtree ? subtree->find(object_id) : 0;
|
return subtree ? subtree->find(object_id) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user