Przeglądaj źródła

Merged revisions 12522 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r12522 | joost | 2009-01-06 22:57:10 +0100 (Tue, 06 Jan 2009) | 1 line

* TFieldDef.Create must be defined as override instead of overload so that in case of loading from stream the right constructor is called
........

git-svn-id: branches/fixes_2_2@12660 -

joost 16 lat temu
rodzic
commit
0543c045e1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/fcl-db/src/base/db.pas

+ 1 - 1
packages/fcl-db/src/base/db.pas

@@ -182,7 +182,7 @@ type
     procedure SetSize(const AValue: Integer);
     procedure SetRequired(const AValue: Boolean);
   public
-    constructor create(ACollection : TCollection); overload;
+    constructor create(ACollection : TCollection); override;
     constructor Create(AOwner: TFieldDefs; const AName: string;
       ADataType: TFieldType; ASize: Integer; ARequired: Boolean; AFieldNo: Longint); overload;
     destructor Destroy; override;