diff options
author | Alex-Rud <Alex.van.rudik@gmail.com> | 2019-07-30 14:51:56 +0300 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2019-08-25 00:20:55 +0200 |
commit | 693e19cf485cf22d32466d3478aaecbfb07010be (patch) | |
tree | 616112bb52c845dc5ed0bd5611c115eb9c64e457 | |
parent | 81f5e10ec420ae01675b61f212939a93128438f0 (diff) | |
download | thrift-693e19cf485cf22d32466d3478aaecbfb07010be.tar.gz |
THRIFT-4939 TThriftListImpl<T>.Sort() does not use comparer
Client: Delphi
Patch: Alex-Rud <Alex.van.rudik@gmail.com>
-rw-r--r-- | lib/delphi/src/Thrift.Collections.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/delphi/src/Thrift.Collections.pas b/lib/delphi/src/Thrift.Collections.pas index 2e137247e..3b56fe205 100644 --- a/lib/delphi/src/Thrift.Collections.pas +++ b/lib/delphi/src/Thrift.Collections.pas @@ -639,7 +639,7 @@ end; procedure TThriftListImpl<T>.Sort(const AComparer: IComparer<T>); begin - FList.Sort; + FList.Sort(AComparer); end; function TThriftListImpl<T>.ToArray: TArray<T>; |