mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 08:33:45 +08:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -729,7 +729,7 @@ int DialogsInner::updateReorderIndexGetCount() {
|
||||
}
|
||||
|
||||
auto count = shownPinnedCount();
|
||||
t_assert(index < count);
|
||||
Assert(index < count);
|
||||
if (count < 2) {
|
||||
stopReorderPinned();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user