mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
LibPDF: Mark PDF::Error nodiscard
No behavior change. Prevents mistakes like the one fixed in 26de2fd0b2.
This commit is contained in:
parent
9fb0de1cfe
commit
e94f1e38d0
Notes:
sideshowbarker
2024-07-17 09:49:48 +09:00
Author: https://github.com/nico
Commit: e94f1e38d0
Pull-request: https://github.com/SerenityOS/serenity/pull/19968
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace PDF {
|
||||
|
||||
class Error {
|
||||
class [[nodiscard]] Error {
|
||||
public:
|
||||
enum class Type {
|
||||
Parse,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue