From 126749f04c51936e4ec8a2018a09fe4a0dd01f1b Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 26 May 2025 12:11:05 +0400 Subject: [PATCH] Fix build with new MSVC. --- Telegram/SourceFiles/boxes/send_gif_with_caption_box.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));