Fix compilation error with old compilers.
This commit is contained in:
parent
9756d174ee
commit
89c47026e0
@ -387,7 +387,7 @@ Result<Photo> create_photo(FileManager *file_manager, FileId file_id, PhotoSize
|
|||||||
photo.photos.push_back(std::move(input_photo_size));
|
photo.photos.push_back(std::move(input_photo_size));
|
||||||
photo.has_stickers = !sticker_file_ids.empty();
|
photo.has_stickers = !sticker_file_ids.empty();
|
||||||
photo.sticker_file_ids = std::move(sticker_file_ids);
|
photo.sticker_file_ids = std::move(sticker_file_ids);
|
||||||
return photo;
|
return std::move(photo);
|
||||||
}
|
}
|
||||||
|
|
||||||
tl_object_ptr<td_api::photo> get_photo_object(FileManager *file_manager, const Photo &photo) {
|
tl_object_ptr<td_api::photo> get_photo_object(FileManager *file_manager, const Photo &photo) {
|
||||||
|
Loading…
Reference in New Issue
Block a user