Browse Source

* Fix visibility warning

git-svn-id: trunk@45363 -
michael 5 years ago
parent
commit
032f3aa11a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/codegen/fpcgdbcoll.pp

+ 1 - 1
packages/fcl-db/src/codegen/fpcgdbcoll.pp

@@ -88,7 +88,6 @@ Type
     Procedure DoGenerateImplementation(Strings: TStrings); override;
     Procedure DoGenerateImplementation(Strings: TStrings); override;
     procedure WriteVisibilityStart(V: TVisibility; Strings: TStrings); override;
     procedure WriteVisibilityStart(V: TVisibility; Strings: TStrings); override;
     procedure CreateImplementation(Strings: TStrings); override;
     procedure CreateImplementation(Strings: TStrings); override;
-    Class Function NeedsFieldDefs : Boolean; override;
     Function CreateOptions : TCodeGeneratorOptions; override;
     Function CreateOptions : TCodeGeneratorOptions; override;
     //
     //
     //  New methods
     //  New methods
@@ -116,6 +115,7 @@ Type
     // Code to Load object from fataset (should check usefieldmap)
     // Code to Load object from fataset (should check usefieldmap)
     procedure CreateObjectLoadFromDataset(Strings: TStrings; const ObjectClassName: String); virtual;
     procedure CreateObjectLoadFromDataset(Strings: TStrings; const ObjectClassName: String); virtual;
   Public
   Public
+    Class Function NeedsFieldDefs : Boolean; override;
     procedure CreateFieldMapDeclaration(Strings: TStrings; const ObjectClassName,MapClassName,
     procedure CreateFieldMapDeclaration(Strings: TStrings; const ObjectClassName,MapClassName,
       MapAncestorName: String);
       MapAncestorName: String);
     procedure CreateListDeclaration(Strings: TStrings; ListMode: TListMode;
     procedure CreateListDeclaration(Strings: TStrings; ListMode: TListMode;