We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f20838 commit 9d0f64bCopy full SHA for 9d0f64b
1 file changed
libvisual/libvisual/lv_palette.h
@@ -70,6 +70,16 @@ namespace LV {
70
return *this;
71
}
72
73
+ constexpr friend bool operator== (Palette const& lhs, Palette const& rhs)
74
+ {
75
+ return lhs.colors == rhs.colors;
76
+ }
77
+
78
+ constexpr friend bool operator!= (Palette const& lhs, Palette const& rhs)
79
80
+ return !(lhs == rhs);
81
82
83
bool empty () const
84
{
85
return colors.empty ();
0 commit comments