summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tgbot/net/HttpClient.h1
-rw-r--r--src/Api.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h
index 024c8ad..aa82c0d 100644
--- a/include/tgbot/net/HttpClient.h
+++ b/include/tgbot/net/HttpClient.h
@@ -6,6 +6,7 @@
#include <string>
#include <vector>
+#include <cstdint>
namespace TgBot {
diff --git a/src/Api.cpp b/src/Api.cpp
index 43a9dba..7bd9e64 100644
--- a/src/Api.cpp
+++ b/src/Api.cpp
@@ -3,7 +3,7 @@
namespace TgBot {
Api::Api(std::string token, const HttpClient& httpClient, const std::string& url)
- : _token(std::move(token)), _httpClient(httpClient), _tgTypeParser(), _url(url) {
+ : _httpClient(httpClient), _token(std::move(token)), _tgTypeParser(), _url(url) {
}
std::vector<Update::Ptr> Api::getUpdates(std::int32_t offset,