From f1fc61e00e2dd07a5d453f0ea9cf941c3792849d Mon Sep 17 00:00:00 2001 From: Vinicius Sanchez Date: Fri, 12 May 2023 08:41:04 -0300 Subject: [PATCH] Bug fix: lazarus build --- src/Horse.Constants.pas | 2 +- src/Horse.Core.RouterTree.pas | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Horse.Constants.pas b/src/Horse.Constants.pas index a9aef77..be6f95d 100644 --- a/src/Horse.Constants.pas +++ b/src/Horse.Constants.pas @@ -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 diff --git a/src/Horse.Core.RouterTree.pas b/src/Horse.Core.RouterTree.pas index 22b772c..e89fedf 100644 --- a/src/Horse.Core.RouterTree.pas +++ b/src/Horse.Core.RouterTree.pas @@ -1,7 +1,7 @@ unit Horse.Core.RouterTree; {$IF DEFINED(FPC)} -{$MODE DELPHI}{$H+} + {$MODE DELPHI}{$H+} {$ENDIF} interface @@ -22,6 +22,7 @@ interface {$ENDIF} Horse.Request, Horse.Response, + Horse.Commons, Horse.Callback; type @@ -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