diff options
author | int3 <smertig_zhyk@mail.ru> | 2018-09-30 20:40:07 +0300 |
---|---|---|
committer | int3 <smertig_zhyk@mail.ru> | 2018-09-30 20:40:07 +0300 |
commit | 32b5ed6cf0466cb644f9adde94164709a4faf5c5 (patch) | |
tree | 5c3a11d6d888365390a8c0b244ee46fc3fb6550f /src/TgTypeParser.cpp | |
parent | 5a1bcfdddecaba039e458c957f79ecc60d12a5fb (diff) |
Fix: missing return
Diffstat (limited to 'src/TgTypeParser.cpp')
-rw-r--r-- | src/TgTypeParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp index ad200b3..6a0cef9 100644 --- a/src/TgTypeParser.cpp +++ b/src/TgTypeParser.cpp @@ -665,6 +665,7 @@ InputMedia::Ptr TgTypeParser::parseJsonAndGetInputMedia(const ptree& data) const result->duration = data.get<int32_t>("duration", 0); result->title = data.get<int32_t>("title", 0); result->performer = data.get<int32_t>("performer", 0); + return result; } else { return nullptr; |