summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Doe <you@example.com>2023-05-06 20:30:44 +0200
committerJohn Doe <you@example.com>2023-05-06 20:30:44 +0200
commit3c65483498f0e39aceed62050a718f3edc68077a (patch)
tree8155e5e2574bbe6754bc2c5fb0e6517e36b4c73c /src
parentf12af5c8b3de66c61c7b096ebbce2f5054c4229a (diff)
fix -Worder warning
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,