* GetDataSize is 0 for empty TValue

This commit is contained in:
Michaël Van Canneyt 2024-12-23 17:56:52 +01:00
parent 4afc656ac5
commit 2070a45217

View File

@ -2860,6 +2860,8 @@ begin
Result:=FData.FValueData.GetDataSize;
exit;
end;
if IsEmpty then
exit;
case Kind of
tkEnumeration,
tkBool,