Browse Source

rtl: removed superfluous UnicodeString

mattias 4 years ago
parent
commit
5a1d978516
2 changed files with 2 additions and 3 deletions
  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;