mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 13:19:27 +02:00
* Use IncRefCountBy in convert-operator
git-svn-id: trunk@6141 -
This commit is contained in:
parent
1c77710813
commit
0cfa2a6aad
@ -1560,7 +1560,7 @@ implementation
|
||||
te_convert_operator :
|
||||
begin
|
||||
include(current_procinfo.flags,pi_do_call);
|
||||
inc(aprocdef.procsym.refs);
|
||||
aprocdef.procsym.IncRefCountBy(1);
|
||||
hp:=ccallnode.create(ccallparanode.create(left,nil),Tprocsym(aprocdef.procsym),nil,nil,[]);
|
||||
{ tell explicitly which def we must use !! (PM) }
|
||||
tcallnode(hp).procdefinition:=aprocdef;
|
||||
|
Loading…
Reference in New Issue
Block a user