diff options
| author | levlam <levlam@telegram.org> | 2018-09-27 19:51:45 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2018-09-27 19:51:45 +0300 |
| commit | 6ac930139b653ae8d391fed31a8141d8331bbf74 (patch) | |
| tree | 60fcca64719b3276bed4f88076f064e9c0adf7c6 /td/telegram/Game.cpp | |
| parent | c3417b5f94314cce95eafd58a2872975d5137fa7 (diff) | |
Const-correct unique_ptr.
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
Diffstat (limited to 'td/telegram/Game.cpp')
| -rw-r--r-- | td/telegram/Game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/Game.cpp b/td/telegram/Game.cpp index ce17046c5..f065ca073 100644 --- a/td/telegram/Game.cpp +++ b/td/telegram/Game.cpp @@ -91,7 +91,7 @@ const FormattedText &Game::get_message_text() const { return text_; } -tl_object_ptr<td_api::game> Game::get_game_object(const Td *td) const { +tl_object_ptr<td_api::game> Game::get_game_object(Td *td) const { return make_tl_object<td_api::game>( id_, short_name_, title_, get_formatted_text_object(text_), description_, get_photo_object(td->file_manager_.get(), &photo_), |
