mirror of https://gitlab.com/basile.b/dexed.git
fix, the address taken was a stack one, not the object heap's one
This commit is contained in:
parent
691d282d34
commit
826c591548
|
|
@ -556,7 +556,7 @@ end;
|
||||||
function uniqueObjStr(const aObject: Tobject): string;
|
function uniqueObjStr(const aObject: Tobject): string;
|
||||||
begin
|
begin
|
||||||
{$HINTS OFF}{$WARNINGS OFF}
|
{$HINTS OFF}{$WARNINGS OFF}
|
||||||
exit( format('%.8X',[NativeUint(@aObject)]));
|
exit( format('%.8X',[NativeUint(aObject)]));
|
||||||
{$HINTS ON}{$WARNINGS ON}
|
{$HINTS ON}{$WARNINGS ON}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue