bool MouseDownUpMoveEvent::ignoreFollowUpMoveAndUpEvents() should be marked with the attribute [[nodiscard]] given that its name, starting with a verb, can easily be interpreted as a mutating action rather than a const getter. Adding [[nodiscard]] will make such misuse produce a compiler warning.
bool MouseDownUpMoveEvent::ignoreFollowUpMoveAndUpEvents()
should be marked with the attribute[[nodiscard]]
given that its name, starting with a verb, can easily be interpreted as a mutating action rather than a const getter. Adding[[nodiscard]]
will make such misuse produce a compiler warning.