Skip to content

Commit

Permalink
Bug fix: lazarus build
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez committed May 12, 2023
1 parent 2ae4fcc commit f1fc61e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Horse.Constants.pas
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface
DEFAULT_HOST = '0.0.0.0';
DEFAULT_PORT = 9000;
START_RUNNING = 'Server is runing on %s:%d';
HORSE_VERSION = '3.1.2';
HORSE_VERSION = '3.1.3';

implementation

Expand Down
6 changes: 3 additions & 3 deletions src/Horse.Core.RouterTree.pas
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
unit Horse.Core.RouterTree;

{$IF DEFINED(FPC)}
{$MODE DELPHI}{$H+}
{$MODE DELPHI}{$H+}
{$ENDIF}

interface
Expand All @@ -22,6 +22,7 @@ interface
{$ENDIF}
Horse.Request,
Horse.Response,
Horse.Commons,
Horse.Callback;

type
Expand Down Expand Up @@ -63,8 +64,7 @@ THorseRouterTree = class
implementation

uses
Horse.Core.RouterTree.NextCaller,
Horse.Commons;
Horse.Core.RouterTree.NextCaller;

procedure THorseRouterTree.RegisterRoute(const AHTTPType: TMethodType; const APath: string; const ACallback: THorseCallback);
var
Expand Down

0 comments on commit f1fc61e

Please sign in to comment.