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

Constify read-only Selection argument for FindLink and FindExact #573

Merged

Conversation

tobiolo
Copy link
Collaborator

@tobiolo tobiolo commented Dec 21, 2023

This commit constifies the Selection argument passed by reference for
{Cell,Grid}::{FindLink,FindExact}(...) as they are only read.

@tobiolo tobiolo force-pushed the constify-selection-in-findlink-findexact branch from 8a67bee to 8f02ced Compare December 21, 2023 21:14
@tobiolo tobiolo changed the title Constify read-only Selection argument passed by reference for `{Cell,… Constify read-only Selection argument for FindLink and FindExact Dec 21, 2023
@tobiolo tobiolo requested a review from aardappel December 21, 2023 21:38
@aardappel
Copy link
Owner

const changes are so simple and harmless, you can probably combine some in one pr. Or rather, just push it yourself, I can't imagine & to const & ever being a problematic change if it all still compiles :)

This commit constifies the read-only argument passed by reference for
`{Cell,Grid}::{FindLink,FindExact}(...)`.
@tobiolo tobiolo force-pushed the constify-selection-in-findlink-findexact branch from 8f02ced to ed59fac Compare December 22, 2023 09:36
@tobiolo tobiolo merged commit c390be9 into aardappel:master Dec 22, 2023
4 checks passed
@tobiolo tobiolo deleted the constify-selection-in-findlink-findexact branch December 22, 2023 19:47
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