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

Remove top-level const qualifiers in function declarations #1762

Merged
merged 2 commits into from Nov 23, 2023

Conversation

LocalSpook
Copy link
Contributor

@LocalSpook LocalSpook commented Oct 29, 2023

In most cases I simply removed the const, but in a few I changed the parameter to a const reference (when it was more than a simple int or enum, for example). Also introduced a clang-tidy check for this.

Signed-off-by: LocalSpook <56512186+LocalSpook@users.noreply.github.com>
Copy link
Member

@Trial97 Trial97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
But please rebase/merge as you have some conflicts

@Scrumplex Scrumplex added the changelog:fixed A PR that appears under "Fixed" in the changelog label Nov 23, 2023
@Scrumplex Scrumplex added this to the 8.1 milestone Nov 23, 2023
@Trial97 Trial97 merged commit 5d6334e into PrismLauncher:develop Nov 23, 2023
31 checks passed
@Scrumplex Scrumplex added the manual backport PRs that have been backported manually label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:fixed A PR that appears under "Fixed" in the changelog manual backport PRs that have been backported manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants