Fix MSVC 15.3 CE.
This commit is contained in:
parent
d5da47510d
commit
ea6cdde0c5
@ -21051,9 +21051,8 @@ MessagesManager::FoundMessages MessagesManager::offline_search_messages(DialogId
|
|||||||
found_fts_messages_[random_id]; // reserve place for result
|
found_fts_messages_[random_id]; // reserve place for result
|
||||||
|
|
||||||
G()->td_db()->get_messages_db_async()->get_messages_fts(
|
G()->td_db()->get_messages_db_async()->get_messages_fts(
|
||||||
std::move(fts_query),
|
std::move(fts_query), PromiseCreator::lambda([random_id, offset, limit, promise = std::move(promise)](
|
||||||
PromiseCreator::lambda([random_id, offset = std::move(offset), limit,
|
Result<MessagesDbFtsResult> fts_result) mutable {
|
||||||
promise = std::move(promise)](Result<MessagesDbFtsResult> fts_result) mutable {
|
|
||||||
send_closure(G()->messages_manager(), &MessagesManager::on_messages_db_fts_result, std::move(fts_result),
|
send_closure(G()->messages_manager(), &MessagesManager::on_messages_db_fts_result, std::move(fts_result),
|
||||||
std::move(offset), limit, random_id, std::move(promise));
|
std::move(offset), limit, random_id, std::move(promise));
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user