Refactor Layout Manager

This commit is contained in:
IlyaShurupov 2024-10-14 21:31:05 +03:00 committed by Ilya Shurupov
parent e00dec67ba
commit 96b293d1b5
28 changed files with 408 additions and 123 deletions

View file

@ -288,9 +288,9 @@ namespace tp {
while (iter) {
tmp = iter;
iter = iter->next;
swap(tmp->next, tmp->prev);
swapV(tmp->next, tmp->prev);
}
swap(mFirst, mLast);
swapV(mFirst, mLast);
}
void detachAll() {