summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/delphi/src/Thrift.Collections.pas2
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>;