2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Replace t_assert() with Assert().

Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
John Preston
2017-08-17 12:06:26 +03:00
parent b3da99c302
commit 25ffaaaa2d
107 changed files with 492 additions and 435 deletions

View File

@@ -729,7 +729,7 @@ int DialogsInner::updateReorderIndexGetCount() {
}
auto count = shownPinnedCount();
t_assert(index < count);
Assert(index < count);
if (count < 2) {
stopReorderPinned();
return 0;