Browse Source

Overload to allow a new constructor in the derived class, but allowing to call the base constructor.

Henrique Gottardi Werlang 1 year ago
parent
commit
6940c94333
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/src/sysutils.pas

+ 1 - 1
packages/rtl/src/sysutils.pas

@@ -123,7 +123,7 @@ type
     class var
     class var
       LogMessageOnCreate : Boolean;
       LogMessageOnCreate : Boolean;
   Public
   Public
-    constructor Create(const Msg: String); reintroduce;
+    constructor Create(const Msg: String); reintroduce; overload;
     constructor CreateFmt(const Msg: string; const Args: array of const);
     constructor CreateFmt(const Msg: string; const Args: array of const);
     constructor CreateHelp(const Msg: String; AHelpContext: Integer);
     constructor CreateHelp(const Msg: String; AHelpContext: Integer);
     constructor CreateFmtHelp(const Msg: string; const Args: array of const; AHelpContext: Integer);
     constructor CreateFmtHelp(const Msg: string; const Args: array of const; AHelpContext: Integer);