diff --git a/packages/rtl/rtti.pas b/packages/rtl/rtti.pas index 61f5e2e..ab2f073 100644 --- a/packages/rtl/rtti.pas +++ b/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; diff --git a/packages/rtl/system.pas b/packages/rtl/system.pas index 7802b85..a5a09bb 100644 --- a/packages/rtl/system.pas +++ b/packages/rtl/system.pas @@ -85,7 +85,6 @@ type NativeLargeInt = NativeInt; NativeLargeUInt = NativeUInt; - UnicodeString = type String; WideString = type String; WideChar = char; UnicodeChar = char;