Skip to content

Commit befd0b4

Browse files
committed
Fixed TSmartObject<T>.Create0
1 parent 0372098 commit befd0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Source/HproseCommon.pas

+1-1
Original file line numberDiff line numberDiff line change
@@ -4487,7 +4487,7 @@ constructor TSmartObject<T>.Create0();
44874487
TI := TypeInfo(T);
44884488
if TI^.Kind <> tkClass then
44894489
raise EHproseException.Create(GetTypeName(TI) + 'is not a Class');
4490-
inherited Create(GetTypeData(TI)^.ClassType)
4490+
inherited Create(GetTypeData(TI)^.ClassType.Create)
44914491
end;
44924492

44934493
constructor TSmartObject<T>.Create(AObject: TObject);

0 commit comments

Comments
 (0)