mirror of
https://github.com/SFML/SFML.git
synced 2025-02-19 06:39:59 +08:00
This avoids confusing auto-completion hints when looking for an event subtype to use as `sf::Event::is` or `sf::Event::getIf` type parameter. This also avoids the inconsistency between what is possible with `sf::Event::is` and `sf::Event::getIf` functions (they do not accept event subtypes parents) and what would be possible with `sf::Event::visit` (it could take a handler for a parent type).