Browse Source

* Fix NilValue

Michaël Van Canneyt 2 years ago
parent
commit
96921aaba3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rtl/inc/objpas.inc

+ 1 - 0
rtl/inc/objpas.inc

@@ -1252,6 +1252,7 @@ end;
 class function TPtrWrapper.GetNilValue: TPtrWrapper; inline; static;
 
 begin
+  Result.Value:=Nil;
 end;
 
 constructor TPtrWrapper.Create(AValue: PtrInt); overload;