aardappel / treesheets

TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
zlib License
2.58k stars 193 forks source link

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

Closed tobiolo closed 9 months ago

tobiolo commented 9 months ago

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

aardappel commented 9 months ago

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 :)