Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
src: run CLANG_FORMAT_START=$(git merge-base HEAD main) make format-cpp
  • Loading branch information
CGQAQ committed Jul 12, 2023
commit 1f788f1902de5536b1110315ae6a30671ce2e2b7
4 changes: 2 additions & 2 deletions src/cleanup_queue-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ bool CleanupQueue::empty() const {
}

void CleanupQueue::Add(Callback cb, void* arg) {
auto insertion_info = cleanup_hooks_.emplace(
cb, arg, cleanup_hook_counter_++);
auto insertion_info =
cleanup_hooks_.emplace(cb, arg, cleanup_hook_counter_++);
// Make sure there was no existing element with these values.
CHECK_EQ(insertion_info.second, true);
}
Expand Down