[fpc-devel] Looking for clarification on what I think are obviously missing "const" prefixes for parameters in the methods of TRect (the typshrdh.inc one)

Marco van de Voort fpc at pascalprogramming.org
Sun Jan 27 14:00:34 CET 2019


Op 2019-01-27 om 01:55 schreef Ben Grasset:
> On Sat, Jan 26, 2019 at 7:06 PM Marco van de Voort 
> <fpc at pascalprogramming.org <mailto:fpc at pascalprogramming.org>> wrote:
>
>     Anyway, a patch would be welcome.
>
>
> Ok, I'll work one up that merges properly against the current trunk 
> versions. Thanks for the quick response also, I was actually not sure 
> who had written those files... didn't look at the license header. ;)
>
Thanks, I saw some of the new constructors of tpoint/tsize are also not 
const. I wonder though that maybe makes passing properties etc difficult?



More information about the fpc-devel mailing list