Commit d1fb8a5
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 df72dc9 commit d1fb8a5Copy full SHA for d1fb8a5
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 |
|---|---|---|
| ||
439 | 439 | |
440 | 440 | |
441 | 441 | |
442 | | - |
| 442 | + |
443 | 443 | |
444 | | - |
445 | | - |
446 | | - |
| 444 | + |
447 | 445 | |
448 | 446 | |
449 | 447 | |
| ||
483 | 481 | |
484 | 482 | |
485 | 483 | |
486 | | - |
| 484 | + |
487 | 485 | |
488 | 486 | |
489 | 487 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
292 | 292 | |
293 | 293 | |
294 | 294 | |
295 | | - |
| 295 | + |
296 | 296 | |
297 | 297 | |
298 | | - |
| 298 | + |
299 | 299 | |
300 | 300 | |
301 | 301 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
268 | 268 | |
269 | 269 | |
270 | 270 | |
271 | | - |
| 271 | + |
272 | 272 | |
273 | 273 | |
274 | 274 | |
275 | 275 | |
276 | | - |
| 276 | + |
277 | 277 | |
278 | 278 | |
279 | 279 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1357 | 1357 | |
1358 | 1358 | |
1359 | 1359 | |
1360 | | - |
| 1360 | + |
1361 | 1361 | |
1362 | 1362 | |
1363 | 1363 | |
|
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