[fpc-devel] TCollection.FOwner

Michael Van Canneyt michael at freepascal.org
Wed Dec 27 17:39:09 CET 2017

On Wed, 27 Dec 2017, Juha Manninen wrote:

> I am proposing to add a private
>  FOwner: TPersistent;
> to TCollection and remove it from derived classes which already have it.
> At least TParams has it but it is not used.

I don't want to burden TCollection with a field that will rarely be used.

The proper solution is to implement GetOwner correctly for all cases that
need it. That's why it is there.

So if you report all cases where GetOwner is missing/not correctly set, 
I will fix them.


More information about the fpc-devel mailing list