Skip to content

Commit efe43f5

Browse files
authored
Merge pull request #277 from Iife85dr1/master
fix gcc13 build
2 parents e503416 + 3c65483 commit efe43f5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

include/tgbot/net/HttpClient.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <string>
88
#include <vector>
9+
#include <cstdint>
910

1011
namespace TgBot {
1112

src/Api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace TgBot {
44

55
Api::Api(std::string token, const HttpClient& httpClient, const std::string& url)
6-
: _token(std::move(token)), _httpClient(httpClient), _tgTypeParser(), _url(url) {
6+
: _httpClient(httpClient), _token(std::move(token)), _tgTypeParser(), _url(url) {
77
}
88

99
std::vector<Update::Ptr> Api::getUpdates(std::int32_t offset,

0 commit comments

Comments
 (0)