diff options
Diffstat (limited to 'Userland/Libraries/LibVT/Attribute.h')
-rw-r--r-- | Userland/Libraries/LibVT/Attribute.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibVT/Attribute.h b/Userland/Libraries/LibVT/Attribute.h index 9b6a9ea897..a9c60ee80d 100644 --- a/Userland/Libraries/LibVT/Attribute.h +++ b/Userland/Libraries/LibVT/Attribute.h @@ -59,11 +59,11 @@ struct Attribute { Flags flags { Flags::NoAttributes }; - constexpr bool operator==(const Attribute& other) const + constexpr bool operator==(Attribute const& other) const { return foreground_color == other.foreground_color && background_color == other.background_color && flags == other.flags; } - constexpr bool operator!=(const Attribute& other) const + constexpr bool operator!=(Attribute const& other) const { return !(*this == other); } |