diff --git a/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp b/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp index b94f000768..f375f65349 100644 --- a/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp +++ b/Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp @@ -390,8 +390,8 @@ void EditCaptionBox( return; } auto text = TextWithEntities{ - base::take(textWithTags.text), - ConvertTextTagsToEntities(base::take(textWithTags.tags)), + std::move(textWithTags.text), + ConvertTextTagsToEntities(std::move(textWithTags.tags)), }; if (item->isUploading()) { item->setText(std::move(text));