Changeset 316 for trunk/UServerList.pas


Ignore:
Timestamp:
Jun 19, 2024, 11:53:06 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UServerList.pas

    r199 r316  
    11unit UServerList;
    2 
    3 {$mode delphi}
    42
    53interface
    64
    75uses
    8   Classes, SysUtils, fgl, XMLConf;
     6  Classes, SysUtils, Generics.Collections, XMLConf;
    97
    108type
     
    2523  end;
    2624
    27   TServerInfos = class(TFPGObjectList<TServerInfo>)
     25  TServerInfos = class(TObjectList<TServerInfo>)
    2826  end;
    2927
     
    8886destructor TServerList.Destroy;
    8987begin
    90   Items.Free;
    91   inherited Destroy;
     88  FreeAndNil(Items);
     89  inherited;
    9290end;
    9391
Note: See TracChangeset for help on using the changeset viewer.