mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Use vector instead of custom linked list.
This commit is contained in:
@@ -130,7 +130,7 @@ PositionChange Entry::adjustByPosInChatList(
|
||||
not_null<IndexedList*> indexed) {
|
||||
const auto lnk = mainChatListLink(list);
|
||||
const auto movedFrom = lnk->pos();
|
||||
indexed->adjustByPos(chatListLinks(list));
|
||||
indexed->adjustByDate(chatListLinks(list));
|
||||
const auto movedTo = lnk->pos();
|
||||
return { movedFrom, movedTo };
|
||||
}
|
||||
|
Reference in New Issue
Block a user