Skip to content

Commit be1425b

Browse files
committed
[httpTypes] small fix
1 parent 90ed2ec commit be1425b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Quick.HttpServer.Types.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ EControlledException = class(Exception)
4343
private
4444
fCallerClass : TClass;
4545
public
46-
constructor Create(aCaller : TObject; aMessage : string);
46+
constructor Create(aCaller : TObject; const aMessage : string);
4747
property CallerClass : TClass read fCallerClass write fCallerClass;
4848
end;
4949

@@ -552,7 +552,7 @@ function TMIMETypes.GetFileMIMEType(const aFilename: string): string;
552552

553553
{ EControlledException }
554554

555-
constructor EControlledException.Create(aCaller: TObject; aMessage: string);
555+
constructor EControlledException.Create(aCaller: TObject; const aMessage: string);
556556
begin
557557
inherited Create(aMessage);
558558
if aCaller <> nil then fCallerClass := aCaller.ClassType;

0 commit comments

Comments
 (0)