diff options
| author | levlam <levlam@telegram.org> | 2025-02-20 14:11:22 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2025-02-20 14:11:22 +0300 |
| commit | 9c3707581da56b67a8fbff103b87e3ad5126c072 (patch) | |
| tree | 27b2b74a8dd16e8d2223536b0d242c1a572473d6 /td/telegram/NotificationManager.cpp | |
| parent | 521aed8e497beb19d97c26ff39708542dc262023 (diff) | |
Don't compare booleans to true or false.
Diffstat (limited to 'td/telegram/NotificationManager.cpp')
| -rw-r--r-- | td/telegram/NotificationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 2869597ac..ad618d3da 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -605,7 +605,7 @@ void NotificationManager::on_get_notifications_from_database(NotificationGroupId auto group_it = get_group(group_id); CHECK(group_it != groups_.end()); auto &group = group_it->second; - CHECK(group.is_being_loaded_from_database == true); + CHECK(group.is_being_loaded_from_database); group.is_being_loaded_from_database = false; if (r_notifications.is_error()) { |
