> (memcmp (&priv->serverInput, i, sizeof (CompWindowExtents)) || > memcmp (&priv->border, b, sizeof (CompWindowExtents)))
Please write an operator == and not use memcmp. Even for simple structs. Then implement operator != in terms of operator ==.
« Back to merge proposal
> (memcmp (&priv- >serverInput, i, sizeof (CompWindowExte nts)) || nts)))
> memcmp (&priv->border, b, sizeof (CompWindowExte
Please write an operator == and not use memcmp. Even for simple structs.
Then implement operator != in terms of operator ==.