소스 검색

* Fix NilValue

Michaël Van Canneyt 2 년 전
부모
커밋
96921aaba3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;