Commit 244a41b
committed
[NFC] Cleanup uncovered async diagnostic inserts
All of the work to insert can be done much more easily with just the
subscript operator. The densemap subscript will automatically initialize
an element at the key if it hasn't already been created. This way we
don't need to insert the empty vector at the anchor before emplacing it,
we can jump straight to grabbing the vector and doing the insertion.1 parent 44a2bb3 commit 244a41b
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2651 | 2651 | | |
2652 | 2652 | | |
2653 | 2653 | | |
2654 | | - | |
2655 | | - | |
2656 | | - | |
2657 | | - | |
| 2654 | + | |
2658 | 2655 | | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
2662 | | - | |
| 2656 | + | |
| 2657 | + | |
2663 | 2658 | | |
2664 | 2659 | | |
2665 | 2660 | | |
| |||
0 commit comments