THRIFT-3017 order of map key/value types incorrect for one CTOR

Client: Delphi
Patch: Jens Geyer
This commit is contained in:
Jens Geyer 2015-03-02 01:30:05 +01:00
parent 6b61601cc1
commit 96eff17e50

View File

@ -114,7 +114,7 @@ type
function GetCount: Integer;
procedure SetCount( Value: Integer);
public
constructor Create( AValueType: TType; AKeyType: TType; ACount: Integer); overload;
constructor Create( AKeyType, AValueType: TType; ACount: Integer); overload;
constructor Create; overload;
end;
@ -733,7 +733,7 @@ end;
{ TMapImpl }
constructor TMapImpl.Create(AValueType, AKeyType: TType; ACount: Integer);
constructor TMapImpl.Create( AKeyType, AValueType: TType; ACount: Integer);
begin
inherited Create;
FValueType := AValueType;