From a2ea1d3c9df1718cafaf0e51d19c73e0ced903e5 Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Tue, 17 Mar 2020 05:21:09 +0300 Subject: format: add missing headers - add missing include headers in different part of tgbot-cpp library, remove unused includes Tested: - Local build --- src/net/BoostHttpOnlySslClient.cpp | 1 + src/net/CurlHttpClient.cpp | 3 +-- src/net/HttpParser.cpp | 4 +++- src/net/TgLongPoll.cpp | 2 ++ src/net/Url.cpp | 1 + 5 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src/net') diff --git a/src/net/BoostHttpOnlySslClient.cpp b/src/net/BoostHttpOnlySslClient.cpp index 836b06a..6cf906f 100644 --- a/src/net/BoostHttpOnlySslClient.cpp +++ b/src/net/BoostHttpOnlySslClient.cpp @@ -1,6 +1,7 @@ #include "tgbot/net/BoostHttpOnlySslClient.h" #include +#include #include diff --git a/src/net/CurlHttpClient.cpp b/src/net/CurlHttpClient.cpp index 6255974..5fde377 100644 --- a/src/net/CurlHttpClient.cpp +++ b/src/net/CurlHttpClient.cpp @@ -3,8 +3,7 @@ #include "tgbot/net/CurlHttpClient.h" #include - -#include +#include namespace TgBot { diff --git a/src/net/HttpParser.cpp b/src/net/HttpParser.cpp index 2d3085f..2f72609 100644 --- a/src/net/HttpParser.cpp +++ b/src/net/HttpParser.cpp @@ -1,7 +1,9 @@ #include "tgbot/net/HttpParser.h" #include -#include +#include +#include +#include #include diff --git a/src/net/TgLongPoll.cpp b/src/net/TgLongPoll.cpp index 98575de..a7b4fcb 100644 --- a/src/net/TgLongPoll.cpp +++ b/src/net/TgLongPoll.cpp @@ -5,6 +5,8 @@ #include "tgbot/EventHandler.h" #include +#include +#include #include namespace TgBot { diff --git a/src/net/Url.cpp b/src/net/Url.cpp index 95e31c7..4b46f41 100644 --- a/src/net/Url.cpp +++ b/src/net/Url.cpp @@ -1,6 +1,7 @@ #include "tgbot/net/Url.h" #include +#include using namespace std; -- cgit v1.2.3