summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2015-03-02 01:30:05 +0100
committerJens Geyer <jensg@apache.org>2015-03-02 02:12:45 +0100
commit96eff17e50a8421bfa48072b2e2aa229b3169eb5 (patch)
tree0b1766774ed3e3644b8980568ff412719c8439b4
parent6b61601cc1c3ef5142ac000fcfc98634970d5d12 (diff)
downloadthrift-96eff17e50a8421bfa48072b2e2aa229b3169eb5.tar.gz
THRIFT-3017 order of map key/value types incorrect for one CTOR
Client: Delphi Patch: Jens Geyer
-rw-r--r--lib/delphi/src/Thrift.Protocol.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/delphi/src/Thrift.Protocol.pas b/lib/delphi/src/Thrift.Protocol.pas
index 6cff09c09..3df3574b2 100644
--- a/lib/delphi/src/Thrift.Protocol.pas
+++ b/lib/delphi/src/Thrift.Protocol.pas
@@ -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;