Fix build on Linux.

This commit is contained in:
John Preston
2026-08-19 00:13:21 +04:00
parent c7b1930ea8
commit 38aec1e3d4
7 changed files with 12 additions and 25 deletions

View File

@@ -2437,7 +2437,7 @@ void Session::destroyMessagesWithCacheCleanup(
}
auto ids = std::vector<FullMsgId>();
ids.reserve(items.size());
for (const auto item : items) {
for (const auto &item : items) {
ids.push_back(item->fullId());
}
notifyItemsAboutToBeDestroyed(items);