summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2023-05-11 00:22:39 +0400
committerGitHub <noreply@github.com>2023-05-11 00:22:39 +0400
commitefe43f54f830702d59fb355e0503c27d6478b538 (patch)
tree24f45169b4d5a4dda5eafe8713dede3b1675f386 /src
parente503416d66b83810a5ae253d4e82c1bc652b38de (diff)
parent3c65483498f0e39aceed62050a718f3edc68077a (diff)
Merge pull request #277 from Iife85dr1/master
fix gcc13 build
Diffstat (limited to 'src')
-rw-r--r--src/Api.cpp2
1 files changed, 1 insertions, 1 deletions
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,