mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibPDF: Mark PDF::Error nodiscard
No behavior change. Prevents mistakes like the one fixed in 26de2fd0b2.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace PDF {
|
||||
|
||||
class Error {
|
||||
class [[nodiscard]] Error {
|
||||
public:
|
||||
enum class Type {
|
||||
Parse,
|
||||
|
||||
Reference in New Issue
Block a user