On Wed, Dec 27, 2017 at 6:39 PM, Michael Van Canneyt
wrote:
> 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
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
On 12/27/2017 04:15 PM, Juha Manninen wrote:
> I am proposing to add a private
> FOwner: TPersistent;
> to TCollection and remove it from derived classes which already have it.
Just a warning which does not necessarily apply to the TCollection issue
you report:
Be very careful to change
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.
The next step would be to assign a proper owner for derived
TCollection instances, case by case.
Lazarus has code to go up in