[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 01:05:38 CET 2019

Op 2019-01-26 om 20:51 schreef Ben Grasset:
> It seems to me like the original author of this unit probably 
> *intended* to "constify" the methods for TRec the same way they did 
> for TSize and TPoint, but just never got around to it / forgot / 
> something along those lines.
I think it is rather the other way around. TRect was first I think, but 
then I noticed I also needed TPoint.

Anyway, a patch would be welcome.

More information about the fpc-devel mailing list