summaryrefslogtreecommitdiff
path: root/include/tgbot
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2019-12-05 00:59:41 +0300
committerOleg Morozenkov <m@oleg.rocks>2019-12-05 00:59:41 +0300
commite1031f20f9139a554c3e4cf70585ae0dcea1bcda (patch)
treee4a934c372ade4b29e87545914d247fa3db6bc01 /include/tgbot
parent084a6492103eff0d021562694c6869fdcce58261 (diff)
Apply @JellyBrick fixes
Diffstat (limited to 'include/tgbot')
-rw-r--r--include/tgbot/types/InlineKeyboardButton.h4
-rw-r--r--include/tgbot/types/Poll.h4
-rw-r--r--include/tgbot/types/PollOption.h4
3 files changed, 8 insertions, 4 deletions
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 <vector>
#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<Poll> 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