Fix MSVC 15.3 CE.

This commit is contained in:
levlam 2020-11-20 02:03:39 +03:00
parent d5da47510d
commit ea6cdde0c5

View File

@ -21051,9 +21051,8 @@ MessagesManager::FoundMessages MessagesManager::offline_search_messages(DialogId
found_fts_messages_[random_id]; // reserve place for result
G()->td_db()->get_messages_db_async()->get_messages_fts(
std::move(fts_query),
PromiseCreator::lambda([random_id, offset = std::move(offset), limit,
promise = std::move(promise)](Result<MessagesDbFtsResult> fts_result) mutable {
std::move(fts_query), PromiseCreator::lambda([random_id, offset, limit, promise = std::move(promise)](
Result<MessagesDbFtsResult> fts_result) mutable {
send_closure(G()->messages_manager(), &MessagesManager::on_messages_db_fts_result, std::move(fts_result),
std::move(offset), limit, random_id, std::move(promise));
}));