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
..
2025-04-10 14:55:15 +02:00
2024-07-02 12:00:11 +02:00
2024-05-29 09:18:12 +02:00
2025-04-10 14:55:21 +02:00
2024-07-02 12:00:11 +02:00
2024-05-29 09:18:12 +02:00
2020-05-05 13:30:15 +02:00
2025-01-30 16:30:13 +01:00
2025-01-30 16:30:13 +01:00
2024-05-29 09:18:12 +02:00
2024-05-29 09:18:12 +02:00
2018-11-16 14:37:18 +01:00
2024-10-08 09:09:24 +02:00
2018-01-17 12:14:35 +01:00
2025-04-10 14:15:34 +02:00
2021-01-25 13:58:10 +01:00
2024-07-02 12:00:11 +02:00
2023-02-27 08:22:49 +01:00
2024-02-26 08:59:07 +01:00
2021-02-23 11:51:57 +01:00
2024-05-29 09:18:12 +02:00
2024-05-29 09:18:12 +02:00
2024-07-02 12:00:11 +02:00
2024-07-02 12:00:11 +02:00
2024-05-29 09:18:12 +02:00
2025-04-10 14:24:11 +02:00
2023-11-28 14:24:24 +01:00
2017-02-28 12:59:29 +01:00
2024-07-02 12:00:11 +02:00
2025-04-10 14:24:11 +02:00