Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qt] Rename Component::requires to avoid clash with C++20 #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 12, 2022

  1. [qt] Rename Component::requires to avoid clash with C++20

    In C++20 requires is a reserved keyword
    
    This results in a build failure when a C++20 project includes component.h
    
    To avoid the issue the method gets a new name (requirements). The old method is marked as deprecated and hidden when building in C++20 mode
    
    Fixes ximion#342
    nicolasfella committed Nov 12, 2022