diff options
author | Andrea Giove <andreagiove@outlook.com> | 2016-04-17 22:39:38 +0200 |
---|---|---|
committer | Andrea Giove <andreagiove@outlook.com> | 2016-04-17 22:39:38 +0200 |
commit | 4bb860175371969088fcb13f2c7bdb18e3cfdfce (patch) | |
tree | b81d618f740d40d9f3bb9c72ef4a9b32f24cd467 /include | |
parent | 9ba69d7e87c9b8ff9997294b68550852ef0274b8 (diff) |
Fixed compilation errors
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/types/MessageEntity.h | 2 | ||||
-rw-r--r-- | include/tgbot/types/Voice.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tgbot/types/MessageEntity.h b/include/tgbot/types/MessageEntity.h index befcb3e..37301e6 100644 --- a/include/tgbot/types/MessageEntity.h +++ b/include/tgbot/types/MessageEntity.h @@ -16,7 +16,7 @@ namespace TgBot { */ class MessageEntity { public: - std::shared_ptr<MessageEntity> Ptr; + typedef std::shared_ptr<MessageEntity> Ptr; /** * Type of the entity. One of mention (@username), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs). diff --git a/include/tgbot/types/Voice.h b/include/tgbot/types/Voice.h index 385257d..b148a50 100644 --- a/include/tgbot/types/Voice.h +++ b/include/tgbot/types/Voice.h @@ -16,7 +16,7 @@ namespace TgBot { */ class Voice { public: - std::shared_ptr<Voice> Ptr; + typedef std::shared_ptr<Voice> Ptr; /** * Unique identifier for this file. |