mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
925d229d67
Replaces the former use of the 'find_by_name' method of the AVL string tree. This method returned a reference to the found object and threw an exception if no matching object was found. The locally implemented replacement doesn't return anything and doesn't throw exceptions. It takes two lambda arguments instead. One for handling the case that a match was found with a reference to the matching object as argument and another for handling the case that no object matches. This way, expensive exception handling can be avoided and object references stay in a local scope. Furthermore, this commit modifies the local wrapper for the insert method of the AVL string tree, so, that it follows the above mentioned concept as well. Ref #4536 |
||
---|---|---|
.. | ||
doc | ||
include | ||
lib | ||
recipes | ||
run | ||
src | ||
xsd | ||
README |
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.