diff options
author | Egor Pugin <egor.pugin@gmail.com> | 2020-03-14 17:34:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 17:34:07 +0300 |
commit | b3e84e58d471412b9d26e173b77c757d93d57b19 (patch) | |
tree | 5ad991beda3975e8d8237562724e20f30d169d40 /include/tgbot/net/TgLongPoll.h | |
parent | 9afa9c4e97faa9a6d7e6089ec1f822047738fdec (diff) | |
parent | 64174491dac84c559db5c48ed850177fa3eb4da0 (diff) |
Merge pull request #133 from JellyBrick/master
Fix #127, #128 & Code quality improvements
Diffstat (limited to 'include/tgbot/net/TgLongPoll.h')
-rw-r--r-- | include/tgbot/net/TgLongPoll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tgbot/net/TgLongPoll.h b/include/tgbot/net/TgLongPoll.h index b55338c..017c012 100644 --- a/include/tgbot/net/TgLongPoll.h +++ b/include/tgbot/net/TgLongPoll.h @@ -17,7 +17,7 @@ namespace TgBot { class TGBOT_API TgLongPoll { public: - TgLongPoll(const Api* api, const EventHandler* eventHandler, std::int32_t, std::int32_t, const std::shared_ptr<std::vector<std::string>>&); + TgLongPoll(const Api* api, const EventHandler* eventHandler, std::int32_t, std::int32_t, std::shared_ptr<std::vector<std::string>>); TgLongPoll(const Bot& bot, std::int32_t = 100, std::int32_t = 10, const std::shared_ptr<std::vector<std::string>>& = nullptr); /** @@ -31,7 +31,7 @@ private: std::int32_t _lastUpdateId = 0; std::int32_t _limit; std::int32_t _timeout; - std::shared_ptr<std::vector<std::string>> _allowupdates; + std::shared_ptr<std::vector<std::string>> _allowUpdates; }; } |