Browse Source

* made some fields in fgl.pp private as proposed by Michalis Kamburelis, resolves #19873

git-svn-id: trunk@18210 -
florian 14 years ago
parent
commit
3787ed993c
1 changed files with 5 additions and 5 deletions
  1. 5 5
      rtl/objpas/fgl.pp

+ 5 - 5
rtl/objpas/fgl.pp

@@ -100,7 +100,7 @@ type
   end;
   end;
 
 
   generic TFPGList<T> = class(TFPSList)
   generic TFPGList<T> = class(TFPSList)
-  public
+  private
     type
     type
       TCompareFunc = function(const Item1, Item2: T): Integer;
       TCompareFunc = function(const Item1, Item2: T): Integer;
       TTypeList = array[0..MaxGListSize] of T;
       TTypeList = array[0..MaxGListSize] of T;
@@ -134,7 +134,7 @@ type
   end;
   end;
 
 
   generic TFPGObjectList<T> = class(TFPSList)
   generic TFPGObjectList<T> = class(TFPSList)
-  public
+  private
     type
     type
       TCompareFunc = function(const Item1, Item2: T): Integer;
       TCompareFunc = function(const Item1, Item2: T): Integer;
       TTypeList = array[0..MaxGListSize] of T;
       TTypeList = array[0..MaxGListSize] of T;
@@ -170,7 +170,7 @@ type
   end;
   end;
 
 
   generic TFPGInterfacedObjectList<T> = class(TFPSList)
   generic TFPGInterfacedObjectList<T> = class(TFPSList)
-  public
+  private
     type
     type
       TCompareFunc = function(const Item1, Item2: T): Integer;
       TCompareFunc = function(const Item1, Item2: T): Integer;
       TTypeList = array[0..MaxGListSize] of T;
       TTypeList = array[0..MaxGListSize] of T;
@@ -254,7 +254,7 @@ type
   end;
   end;
 
 
   generic TFPGMap<TKey, TData> = class(TFPSMap)
   generic TFPGMap<TKey, TData> = class(TFPSMap)
-  public
+  private
     type
     type
       TKeyCompareFunc = function(const Key1, Key2: TKey): Integer;
       TKeyCompareFunc = function(const Key1, Key2: TKey): Integer;
       TDataCompareFunc = function(const Data1, Data2: TData): Integer;
       TDataCompareFunc = function(const Data1, Data2: TData): Integer;
@@ -299,7 +299,7 @@ type
   end;
   end;
 
 
   generic TFPGMapInterfacedObjectData<TKey, TData> = class(TFPSMap)
   generic TFPGMapInterfacedObjectData<TKey, TData> = class(TFPSMap)
-  public
+  private
     type
     type
       TKeyCompareFunc = function(const Key1, Key2: TKey): Integer;
       TKeyCompareFunc = function(const Key1, Key2: TKey): Integer;
       TDataCompareFunc = function(const Data1, Data2: TData): Integer;
       TDataCompareFunc = function(const Data1, Data2: TData): Integer;