From e1031f20f9139a554c3e4cf70585ae0dcea1bcda Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 5 Dec 2019 00:59:41 +0300 Subject: Apply @JellyBrick fixes --- include/tgbot/types/InlineKeyboardButton.h | 4 ++-- include/tgbot/types/Poll.h | 4 ++-- include/tgbot/types/PollOption.h | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'include/tgbot') diff --git a/include/tgbot/types/InlineKeyboardButton.h b/include/tgbot/types/InlineKeyboardButton.h index f02d788..f274825 100644 --- a/include/tgbot/types/InlineKeyboardButton.h +++ b/include/tgbot/types/InlineKeyboardButton.h @@ -33,8 +33,8 @@ public: std::string url; /** - * @brief Optional. An HTTP URL used to automatically authorize the user. - */ + * @brief Optional. An HTTP URL used to automatically authorize the user. + */ LoginUrl::Ptr loginUrl; /** diff --git a/include/tgbot/types/Poll.h b/include/tgbot/types/Poll.h index 11c3c07..e218997 100644 --- a/include/tgbot/types/Poll.h +++ b/include/tgbot/types/Poll.h @@ -28,13 +28,13 @@ #include #include "tgbot/types/PollOption.h" -namespace TgBot{ +namespace TgBot { /** * @brief This object represents a Poll. * * @ingroup types */ - class Poll{ + class Poll { public: typedef std::shared_ptr Ptr; diff --git a/include/tgbot/types/PollOption.h b/include/tgbot/types/PollOption.h index 52099f9..0d87870 100644 --- a/include/tgbot/types/PollOption.h +++ b/include/tgbot/types/PollOption.h @@ -27,6 +27,8 @@ #ifndef TGBOT_POLLOPTION_H #define TGBOT_POLLOPTION_H +namespace TgBot { + class PollOption { public: @@ -43,4 +45,6 @@ public: int64_t voter_count; }; +} + #endif //TGBOT_POLLOPTION_H -- cgit v1.2.3