Browse Source

* Remove empty destructors (patch from Luiz Americo, bug #21907)

git-svn-id: trunk@21159 -
michael 13 years ago
parent
commit
4cb04074d6
1 changed files with 0 additions and 15 deletions
  1. 0 15
      packages/fcl-db/src/base/db.pas

+ 0 - 15
packages/fcl-db/src/base/db.pas

@@ -991,7 +991,6 @@ type
   public
   public
     constructor Create(Owner: TIndexDefs; const AName, TheFields: string;
     constructor Create(Owner: TIndexDefs; const AName, TheFields: string;
       TheOptions: TIndexOptions); overload;
       TheOptions: TIndexOptions); overload;
-    destructor Destroy; override;
     property Expression: string read GetExpression write SetExpression;
     property Expression: string read GetExpression write SetExpression;
     property Fields: string read FFields write FFields;
     property Fields: string read FFields write FFields;
     property CaseInsFields: string read FCaseinsFields write SetCaseInsFields;
     property CaseInsFields: string read FCaseinsFields write SetCaseInsFields;
@@ -1008,7 +1007,6 @@ type
     Procedure SetItem(Index: Integer; Value: TIndexDef);
     Procedure SetItem(Index: Integer; Value: TIndexDef);
   public
   public
     constructor Create(ADataSet: TDataSet); virtual; overload;
     constructor Create(ADataSet: TDataSet); virtual; overload;
-    destructor Destroy; override;
     procedure Add(const Name, Fields: string; Options: TIndexOptions);
     procedure Add(const Name, Fields: string; Options: TIndexOptions);
     Function AddIndexDef: TIndexDef;
     Function AddIndexDef: TIndexDef;
     function Find(const IndexName: string): TIndexDef;
     function Find(const IndexName: string): TIndexDef;
@@ -2306,13 +2304,6 @@ begin
 end;
 end;
 
 
 
 
-destructor TIndexDef.Destroy;
-
-begin
-  inherited Destroy;
-end;
-
-
 { TIndexDefs }
 { TIndexDefs }
 
 
 Function TIndexDefs.GetItem (Index : integer) : TIndexDef;
 Function TIndexDefs.GetItem (Index : integer) : TIndexDef;
@@ -2333,12 +2324,6 @@ begin
 end;
 end;
 
 
 
 
-destructor TIndexDefs.Destroy;
-
-begin
-  inherited Destroy;
-end;
-
 Function TIndexDefs.AddIndexDef: TIndexDef;
 Function TIndexDefs.AddIndexDef: TIndexDef;
 
 
 begin
 begin