Browse Source

* Added overload directive, fixes regressions in testsuite

git-svn-id: trunk@32863 -
michael 9 years ago
parent
commit
9d92953bd2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/rtl-objpas/src/inc/variants.pp

+ 2 - 2
packages/rtl-objpas/src/inc/variants.pp

@@ -342,8 +342,8 @@ const
 
 { Typinfo unit Variant routines have been moved here, so as not to make TypInfo dependent on variants }
 
-Function GetPropValue(Instance: TObject; PropInfo: PPropInfo; PreferStrings: Boolean): Variant;
-Procedure SetPropValue(Instance: TObject; PropInfo: PPropInfo; const Value: Variant);
+Function  GetPropValue(Instance: TObject; PropInfo: PPropInfo; PreferStrings: Boolean): Variant; overload;
+Procedure SetPropValue(Instance: TObject; PropInfo: PPropInfo; const Value: Variant); overload;
 Function  GetVariantProp(Instance: TObject; PropInfo : PPropInfo): Variant;
 Function  GetVariantProp(Instance: TObject; const PropName: string): Variant;
 Procedure SetVariantProp(Instance: TObject; const PropName: string; const Value: Variant);