summaryrefslogtreecommitdiff
path: root/include/tgbot/net
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2018-06-23 11:45:55 +0300
committerGitHub <noreply@github.com>2018-06-23 11:45:55 +0300
commit7f388398bbcff916f5507770af727ef9ad59f33d (patch)
treeaf5b22e706fda92b622845607f17a4f54cd59306 /include/tgbot/net
parentf31df3f057c81aec138d2e0cb09079a6ec57fc43 (diff)
parentf626d8c0510edc62fa5eab2f5f6b26d63d4d77a1 (diff)
Merge pull request #71 from JellyBrick/master
Fix compile warning (-Wreorder)
Diffstat (limited to 'include/tgbot/net')
-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 e2d0b94..a0281f1 100644
--- a/include/tgbot/net/TgLongPoll.h
+++ b/include/tgbot/net/TgLongPoll.h
@@ -46,12 +46,12 @@ public:
void start();
private:
+ const Api* _api;
+ const EventHandler* _eventHandler;
int32_t _lastUpdateId = 0;
int32_t _limit;
int32_t _timeout;
std::shared_ptr<std::vector<std::string>> _allowupdates;
- const Api* _api;
- const EventHandler* _eventHandler;
};
}