THRIFT-2847 function IfValue() is a duplicate of System.StrUtils.IfThen
Client: Delphi
Patch: Qian Xu <sx.away@googlemail.com>
This closes #280
diff --git a/lib/delphi/src/Thrift.Utils.pas b/lib/delphi/src/Thrift.Utils.pas
index 58ffe79..5c3d8a5 100644
--- a/lib/delphi/src/Thrift.Utils.pas
+++ b/lib/delphi/src/Thrift.Utils.pas
@@ -49,21 +49,8 @@
end;
-
-function IfValue(B: Boolean; const TrueValue, FalseValue: WideString): string;
-
implementation
-
-function IfValue(B: Boolean; const TrueValue, FalseValue: WideString): string;
-begin
- if B then
- Result := TrueValue
- else
- Result := FalseValue;
-end;
-
-
{ TOverlappedHelperImpl }
constructor TOverlappedHelperImpl.Create;