Norman Feske 84eb264786 util/attempt.h: mark 'Attempt' types as nodiscard
This catches bugs early on. E.g., when leaving an 'Allocation'
unused, it gets immediately deallocated, which is most probably not
intended. For regular 'Attempt' objects, this change encourages
the proper propagation of errors, or at least the logging of unexpected
conditions.

Fixes #5513
2025-04-10 14:55:21 +02:00
..
2023-11-28 14:24:23 +01:00

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.