mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -66,7 +66,7 @@ std::vector<not_null<UserData*>> PrivacyExceptionsBoxController::getResult() con
|
||||
users.reserve(peers.size());
|
||||
for_const (auto peer, peers) {
|
||||
auto user = peer->asUser();
|
||||
t_assert(user != nullptr);
|
||||
Assert(user != nullptr);
|
||||
users.push_back(user);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user