summaryrefslogtreecommitdiff
path: root/include/tgbot/net/TgLongPoll.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/net/TgLongPoll.h')
-rw-r--r--include/tgbot/net/TgLongPoll.h4
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;
};
}