From 0e9a5bb427757b8b6ecb2734e602fe5bc7e6354b Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Sun, 22 Mar 2020 20:12:33 +0300 Subject: Fix header order. --- include/tgbot/net/BoostHttpOnlySslClient.h | 8 ++++---- include/tgbot/net/CurlHttpClient.h | 8 ++++---- include/tgbot/net/HttpClient.h | 4 ++-- include/tgbot/net/HttpParser.h | 6 +++--- include/tgbot/net/HttpReqArg.h | 4 ++-- include/tgbot/net/HttpServer.h | 8 ++++---- include/tgbot/net/TgWebhookServer.h | 4 ++-- 7 files changed, 21 insertions(+), 21 deletions(-) (limited to 'include/tgbot/net') diff --git a/include/tgbot/net/BoostHttpOnlySslClient.h b/include/tgbot/net/BoostHttpOnlySslClient.h index 594b3fe..a047fea 100644 --- a/include/tgbot/net/BoostHttpOnlySslClient.h +++ b/include/tgbot/net/BoostHttpOnlySslClient.h @@ -1,15 +1,15 @@ #ifndef TGBOT_BOOSTHTTPCLIENT_H #define TGBOT_BOOSTHTTPCLIENT_H -#include - -#include - #include "tgbot/net/HttpClient.h" #include "tgbot/net/Url.h" #include "tgbot/net/HttpReqArg.h" #include "tgbot/net/HttpParser.h" +#include + +#include + namespace TgBot { /** diff --git a/include/tgbot/net/CurlHttpClient.h b/include/tgbot/net/CurlHttpClient.h index 202cc40..30e72ba 100644 --- a/include/tgbot/net/CurlHttpClient.h +++ b/include/tgbot/net/CurlHttpClient.h @@ -3,15 +3,15 @@ #ifdef HAVE_CURL -#include - -#include - #include "tgbot/net/HttpClient.h" #include "tgbot/net/Url.h" #include "tgbot/net/HttpReqArg.h" #include "tgbot/net/HttpParser.h" +#include + +#include + namespace TgBot { /** diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h index d9c72be..9b452d8 100644 --- a/include/tgbot/net/HttpClient.h +++ b/include/tgbot/net/HttpClient.h @@ -1,11 +1,11 @@ #ifndef TGBOT_HTTPCLIENT_H #define TGBOT_HTTPCLIENT_H -#include - #include "tgbot/net/Url.h" #include "tgbot/net/HttpReqArg.h" +#include + namespace TgBot { /** diff --git a/include/tgbot/net/HttpParser.h b/include/tgbot/net/HttpParser.h index fabeacf..870ac38 100644 --- a/include/tgbot/net/HttpParser.h +++ b/include/tgbot/net/HttpParser.h @@ -1,13 +1,13 @@ #ifndef TGBOT_HTTPPARSER_H #define TGBOT_HTTPPARSER_H +#include "tgbot/net/Url.h" +#include "tgbot/net/HttpReqArg.h" + #include #include #include -#include "tgbot/net/Url.h" -#include "tgbot/net/HttpReqArg.h" - namespace TgBot { class TGBOT_API HttpParser { diff --git a/include/tgbot/net/HttpReqArg.h b/include/tgbot/net/HttpReqArg.h index 72dfd7d..7c23eab 100644 --- a/include/tgbot/net/HttpReqArg.h +++ b/include/tgbot/net/HttpReqArg.h @@ -3,13 +3,13 @@ #include "tgbot/export.h" +#include + #include #include #include #include -#include - namespace TgBot { /** diff --git a/include/tgbot/net/HttpServer.h b/include/tgbot/net/HttpServer.h index ccee077..51210d7 100644 --- a/include/tgbot/net/HttpServer.h +++ b/include/tgbot/net/HttpServer.h @@ -1,15 +1,15 @@ #ifndef TGBOT_HTTPSERVER_H #define TGBOT_HTTPSERVER_H +#include "tgbot/net/HttpParser.h" + +#include + #include #include #include #include -#include - -#include "tgbot/net/HttpParser.h" - namespace TgBot { /** diff --git a/include/tgbot/net/TgWebhookServer.h b/include/tgbot/net/TgWebhookServer.h index 2f3c5b8..85b2934 100644 --- a/include/tgbot/net/TgWebhookServer.h +++ b/include/tgbot/net/TgWebhookServer.h @@ -1,13 +1,13 @@ #ifndef TGBOT_TGHTTPSERVER_H #define TGBOT_TGHTTPSERVER_H -#include - #include "tgbot/Bot.h" #include "tgbot/EventHandler.h" #include "tgbot/TgTypeParser.h" #include "tgbot/net/HttpServer.h" +#include + namespace TgBot { template -- cgit v1.2.3