Fix formatting.

GitOrigin-RevId: 144f91ea1ad0a1f9a8e5e08c4c10f238b066be47
This commit is contained in:
levlam 2019-02-13 00:28:47 +03:00
parent 9b42166c68
commit dd398c5968
7 changed files with 12 additions and 10 deletions

View File

@ -5259,9 +5259,10 @@ void ContactsManager::on_save_user_to_database(UserId user_id, bool success) {
CHECK(u != nullptr); CHECK(u != nullptr);
LOG_CHECK(u->is_being_saved) << user_id << " " << u->is_saved << " " << u->is_status_saved << " " LOG_CHECK(u->is_being_saved) << user_id << " " << u->is_saved << " " << u->is_status_saved << " "
<< load_user_from_database_queries_.count(user_id) << " " << u->is_received << " " << load_user_from_database_queries_.count(user_id) << " " << u->is_received << " "
<< u->is_deleted << " " << u->is_bot << " " << u->is_changed << " " << u->need_send_update << u->is_deleted << " " << u->is_bot << " " << u->is_changed << " "
<< " " << u->is_status_changed << " " << u->is_name_changed << " " << u->is_username_changed << u->need_send_update << " " << u->is_status_changed << " " << u->is_name_changed << " "
<< " " << u->is_photo_changed << " " << u->is_outbound_link_changed; << u->is_username_changed << " " << u->is_photo_changed << " "
<< u->is_outbound_link_changed;
CHECK(load_user_from_database_queries_.count(user_id) == 0); CHECK(load_user_from_database_queries_.count(user_id) == 0);
u->is_being_saved = false; u->is_being_saved = false;

View File

@ -105,7 +105,8 @@ ActorOwn<ActorT> Scheduler::register_actor_impl(Slice name, ActorT *actor_ptr, A
#if TD_THREAD_UNSUPPORTED || TD_EVENTFD_UNSUPPORTED #if TD_THREAD_UNSUPPORTED || TD_EVENTFD_UNSUPPORTED
sched_id = 0; sched_id = 0;
#endif #endif
LOG_CHECK(sched_id == sched_id_ || (0 <= sched_id && sched_id < static_cast<int32>(outbound_queues_.size()))) << sched_id; LOG_CHECK(sched_id == sched_id_ || (0 <= sched_id && sched_id < static_cast<int32>(outbound_queues_.size())))
<< sched_id;
auto info = actor_info_pool_->create_empty(); auto info = actor_info_pool_->create_empty();
VLOG(actor) << "Create actor: " << tag("name", name) << tag("ptr", *info) << tag("context", context()) VLOG(actor) << "Create actor: " << tag("name", name) << tag("ptr", *info) << tag("context", context())
<< tag("this", this) << tag("actor_count", actor_count_); << tag("this", this) << tag("actor_count", actor_count_);