瀏覽代碼

* avoid warning about visibility of ItemIsmanaged

git-svn-id: trunk@43474 -
michael 5 年之前
父節點
當前提交
6fcd7fe3f8
共有 1 個文件被更改,包括 1 次插入2 次删除
  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}
     procedure SetLast(const Value: T); {$ifdef FGLINLINE} inline; {$endif}
     function GetFirst: T; {$ifdef FGLINLINE} inline; {$endif}
     function GetFirst: T; {$ifdef FGLINLINE} inline; {$endif}
     procedure SetFirst(const Value: T); {$ifdef FGLINLINE} inline; {$endif}
     procedure SetFirst(const Value: T); {$ifdef FGLINLINE} inline; {$endif}
-  Protected
-    class Function ItemIsManaged : Boolean; override;
   public
   public
     Type
     Type
       TFPGListEnumeratorSpec = specialize TFPGListEnumerator<T>;
       TFPGListEnumeratorSpec = specialize TFPGListEnumerator<T>;
     constructor Create;
     constructor Create;
+    class Function ItemIsManaged : Boolean; override;
     function Add(const Item: T): Integer; {$ifdef FGLINLINE} inline; {$endif}
     function Add(const Item: T): Integer; {$ifdef FGLINLINE} inline; {$endif}
     function Extract(const Item: T): T; {$ifdef FGLINLINE} inline; {$endif}
     function Extract(const Item: T): T; {$ifdef FGLINLINE} inline; {$endif}
     property First: T read GetFirst write SetFirst;
     property First: T read GetFirst write SetFirst;