diff options
author | JellyBrick <shlee1503@naver.com> | 2021-07-25 23:00:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 23:00:40 +0900 |
commit | 633d81dc681c1e0116f6e6f1bc26fb4418d1c0dc (patch) | |
tree | 23a86c3e5bbb6f06ce00c66103f17841b551ba11 /include | |
parent | 9f16aa8d1186674a4cbb0a2d8b789992013ccae3 (diff) |
fix(TgWebhookServer): `_path` will be initialized after `_eventHandler`
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/net/TgWebhookServer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/net/TgWebhookServer.h b/include/tgbot/net/TgWebhookServer.h index 8e89765..f7eb949 100644 --- a/include/tgbot/net/TgWebhookServer.h +++ b/include/tgbot/net/TgWebhookServer.h @@ -38,8 +38,8 @@ private: return HttpServer<Protocol>::_httpParser.generateResponse("", "text/plain", 200, "OK", false); } - const EventHandler& _eventHandler; const std::string _path; + const EventHandler& _eventHandler; const TgTypeParser _tgTypeParser; }; |