Răsfoiți Sursa

* avoid warning about visibility of ItemIsmanaged

git-svn-id: trunk@43474 -
michael 5 ani în urmă
părinte
comite
6fcd7fe3f8
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      rtl/objpas/fgl.pp

+ 1 - 2
rtl/objpas/fgl.pp

@@ -139,12 +139,11 @@ type
     procedure SetLast(const Value: T); {$ifdef FGLINLINE} inline; {$endif}
     function GetFirst: T; {$ifdef FGLINLINE} inline; {$endif}
     procedure SetFirst(const Value: T); {$ifdef FGLINLINE} inline; {$endif}
-  Protected
-    class Function ItemIsManaged : Boolean; override;
   public
     Type
       TFPGListEnumeratorSpec = specialize TFPGListEnumerator<T>;
     constructor Create;
+    class Function ItemIsManaged : Boolean; override;
     function Add(const Item: T): Integer; {$ifdef FGLINLINE} inline; {$endif}
     function Extract(const Item: T): T; {$ifdef FGLINLINE} inline; {$endif}
     property First: T read GetFirst write SetFirst;