THRIFT-2162 Missing calls to inherited CTOR at misc. places
Patch: Jens Geyer
diff --git a/lib/delphi/src/Thrift.Collections.pas b/lib/delphi/src/Thrift.Collections.pas
index 66ff1c0..3a0274c 100644
--- a/lib/delphi/src/Thrift.Collections.pas
+++ b/lib/delphi/src/Thrift.Collections.pas
@@ -320,6 +320,7 @@
constructor TThriftDictionaryImpl<TKey, TValue>.Create(ACapacity: Integer);
begin
+ inherited Create;
FDictionaly := TDictionary<TKey,TValue>.Create( ACapacity );
end;
@@ -449,6 +450,7 @@
constructor TThriftListImpl<T>.Create;
begin
+ inherited;
FList := TList<T>.Create;
end;