Commit eb99eec
src: avoid unnecessary string ->
In these places we can just generate `std::string` directly, so
there's no need to convert to an intermediate C string.
PR-URL: #60055
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>char* -> string round trips1 parent c1f1dbd commit eb99eecCopy full SHA for eb99eec
File tree
Expand file treeCollapse file tree
6 files changed
+10
-12
lines changedOpen diff view settings
Filter options
- src
- inspector
- quic
Expand file treeCollapse file tree
6 files changed
+10
-12
lines changedOpen diff view settings
Collapse file
src/inspector/protocol_helper.h
Copy file name to clipboardExpand all lines: src/inspector/protocol_helper.h+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
+3-5Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
442 | 442 | |
443 | 443 | |
444 | 444 | |
445 | | - |
| 445 | + |
446 | 446 | |
447 | | - |
448 | | - |
449 | | - |
| 447 | + |
450 | 448 | |
451 | 449 | |
452 | 450 | |
| ||
486 | 484 | |
487 | 485 | |
488 | 486 | |
489 | | - |
| 487 | + |
490 | 488 | |
491 | 489 | |
492 | 490 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
284 | 284 | |
285 | 285 | |
286 | 286 | |
287 | | - |
| 287 | + |
288 | 288 | |
289 | 289 | |
290 | | - |
| 290 | + |
291 | 291 | |
292 | 292 | |
293 | 293 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
276 | 276 | |
277 | 277 | |
278 | 278 | |
279 | | - |
| 279 | + |
280 | 280 | |
281 | 281 | |
282 | 282 | |
283 | 283 | |
284 | | - |
| 284 | + |
285 | 285 | |
286 | 286 | |
287 | 287 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1368 | 1368 | |
1369 | 1369 | |
1370 | 1370 | |
1371 | | - |
| 1371 | + |
1372 | 1372 | |
1373 | 1373 | |
1374 | 1374 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
39 | 39 | |
40 | 40 | |
41 | 41 | |
42 | | - |
| 42 | + |
43 | 43 | |
44 | 44 | |
45 | 45 | |
|
0 commit comments