瀏覽代碼

rtl: removed superfluous UnicodeString

mattias 4 年之前
父節點
當前提交
5a1d978516
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 2 2
      packages/rtl/rtti.pas
  2. 0 1
      packages/rtl/system.pas

+ 2 - 2
packages/rtl/rtti.pas

@@ -254,7 +254,7 @@ type
 
     destructor Destroy; override;
 
-    function GetDeclaredMethods: TRttiMethodArray;
+    function GetDeclaredMethods: TRttiMethodArray; override;
     function GetDeclaredProperties: TRttiPropertyArray; override;
     function GetMethod(const aName: String): TRttiMethod; override;
     function GetMethods: TRttiMethodArray; override;
@@ -323,7 +323,7 @@ type
     property EnumerationTypeInfo: TTypeInfoEnum read GetEnumerationTypeInfo;
 
     function GetNames: TStringArray;
-    generic class function GetName<T>(AValue: T): String;
+    generic class function GetName<T>(AValue: T): String; reintroduce;
     generic class function GetValue<T>(const AValue: String): T;
   end;
 

+ 0 - 1
packages/rtl/system.pas

@@ -85,7 +85,6 @@ type
   NativeLargeInt = NativeInt;
   NativeLargeUInt = NativeUInt;
 
-  UnicodeString = type String;
   WideString = type String;
   WideChar = char;
   UnicodeChar = char;