summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2016-04-17 23:58:20 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2016-04-17 23:58:20 +0300
commit5f2ea8897acf29523264dff8108ad483324138e4 (patch)
tree925b72103c964a5bc0aea320a181f37229550ee8 /include
parent53418361401958da5cfa3741a8f79687e103c94a (diff)
parent4bb860175371969088fcb13f2c7bdb18e3cfdfce (diff)
Merge pull request #23 from aadeg/master
Fixed compilation errors
Diffstat (limited to 'include')
-rw-r--r--include/tgbot/types/MessageEntity.h2
-rw-r--r--include/tgbot/types/Voice.h2
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.