Commit 820294e
folly::IOBuf::wrapIov refactor
Summary:
was reviewing D85912162 (mvfst's noexcept version of IOBuf) and I suggested a small refactor for `::wrapIov` that folly could benefit from
this elides one if/else branch
Reviewed By: yfeldblum
Differential Revision: D86323278
fbshipit-source-id: 6feafdb8479b948ec200c5fc2ededa95e863c6c81 parent 3d68dbb commit 820294e
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1421 | 1421 | | |
1422 | 1422 | | |
1423 | 1423 | | |
1424 | | - | |
| 1424 | + | |
1425 | 1425 | | |
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | 1429 | | |
1430 | | - | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | | - | |
| 1430 | + | |
1435 | 1431 | | |
1436 | 1432 | | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
1440 | | - | |
| 1433 | + | |
1441 | 1434 | | |
1442 | 1435 | | |
1443 | 1436 | | |
| |||
0 commit comments