diff options
author | Alexander Zaitsev <zamazan4ik@tut.by> | 2020-03-17 05:21:09 +0300 |
---|---|---|
committer | Alexander Zaitsev <zamazan4ik@tut.by> | 2020-03-17 05:21:09 +0300 |
commit | a2ea1d3c9df1718cafaf0e51d19c73e0ced903e5 (patch) | |
tree | fb53961975917598e28c461de2c7463537d5767d /src/net | |
parent | 70ffa285512d2fa829b6c73aa24d6f4b3e314edd (diff) |
format: add missing headers
- add missing include headers in different part of tgbot-cpp library, remove unused includes
Tested:
- Local build
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/BoostHttpOnlySslClient.cpp | 1 | ||||
-rw-r--r-- | src/net/CurlHttpClient.cpp | 3 | ||||
-rw-r--r-- | src/net/HttpParser.cpp | 4 | ||||
-rw-r--r-- | src/net/TgLongPoll.cpp | 2 | ||||
-rw-r--r-- | src/net/Url.cpp | 1 |
5 files changed, 8 insertions, 3 deletions
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 <cstddef> +#include <vector> #include <boost/asio/ssl.hpp> 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 <cstddef> - -#include <boost/asio/ssl.hpp> +#include <string> 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 <cstddef> -#include <cstdint> +#include <string> +#include <vector> +#include <unordered_map> #include <boost/algorithm/string.hpp> 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 <cstdint> +#include <memory> +#include <vector> #include <utility> 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 <cstddef> +#include <string> using namespace std; |