aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/Game.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2021-11-10 20:05:41 +0300
committerlevlam <levlam@telegram.org>2021-11-10 20:05:41 +0300
commit2392cc763180af67644f5f97c440ba77f96d6e92 (patch)
treeac614c8003402e6d8bad754eb08672cc1125bf97 /td/telegram/Game.cpp
parent33c689aacc78ef5a68973552b968a3bb68cdd7c6 (diff)
Fix some uses after move.
Diffstat (limited to 'td/telegram/Game.cpp')
-rw-r--r--td/telegram/Game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/Game.cpp b/td/telegram/Game.cpp
index 84cff59c6..436c7fdc2 100644
--- a/td/telegram/Game.cpp
+++ b/td/telegram/Game.cpp
@@ -37,7 +37,7 @@ Game::Game(Td *td, string title, string description, tl_object_ptr<telegram_api:
CHECK(photo != nullptr);
photo_ = get_photo(td->file_manager_.get(), std::move(photo), owner_dialog_id);
if (photo_.is_empty()) {
- LOG(ERROR) << "Receive empty photo for game " << title;
+ LOG(ERROR) << "Receive empty photo for game " << title_;
photo_.id = 0; // to prevent null photo in td_api
}
if (document != nullptr) {