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

Add missing const across the code base #3593

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

ManManson
Copy link
Member

@ManManson ManManson commented Jan 10, 2024

Ensure that const pointers are used wherever possible, which should make it easier to:

  1. Judge whether a given function modifies its argument or not.
  2. Optimize things for compiler.

Ensure that const pointers are used wherever
possible, which should make it easier to:

1. Judge whether a given function modifies
   its argument or not.
2. To optimize things for compiler.

Signed-off-by: Pavel Solodovnikov <[email protected]>
@ManManson ManManson force-pushed the add_missing_const_modifiers branch from b31a13e to e44b3e2 Compare January 14, 2024 12:29
@past-due past-due added this to the 4.5.0-beta1 milestone Jan 14, 2024
@past-due past-due merged commit 6744315 into Warzone2100:master Jan 14, 2024
35 checks passed
@ManManson ManManson deleted the add_missing_const_modifiers branch March 16, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants