소스 검색

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;