mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
433029c3a6
Replaces the former implementation of the 'find_by_ip' method at the data structure for ARP cache entries. This method used to return a reference to the found object and threw an exception if no matching object was found. The new implementation 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. Ref #4555 |
||
---|---|---|
.. | ||
app | ||
drivers | ||
init | ||
lib | ||
server | ||
test |