Skip to content

Conversation

@jjuhl
Copy link
Contributor

@jjuhl jjuhl commented Feb 2, 2026

Hi Texus

Here are some const-correctness fixes for you.

Kind regards
Jesper Juhl

jjuhl added 2 commits February 2, 2026 15:08
To make intent clear.
To prevent accidents when refactoring.
In very rare situations it may also help the compilers optimizer a bit.
@texus
Copy link
Owner

texus commented Feb 4, 2026

I've cherry-picked these changes because "begin / end" and "rbegin / rend" section in tests/String.cpp shouldn't be changed (these are tests for the non-const function).

@texus texus closed this Feb 4, 2026
@jjuhl
Copy link
Contributor Author

jjuhl commented Feb 4, 2026

Makes sense. Thank you.

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