Commit 8b7c2f6
committed
Fix GCC builds
I don't know why GCC needs this change, but using in-place `new` to
initialize a member of an anonymous union with the result of a function
call rather than directly initializing the same value in the member
initialization clause from the same function allows GCC to recognize
that initializing the value with a prvalue does not invoke the move
constructor.1 parent cecea41 commit 8b7c2f6
2 files changed
Lines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | 470 | | |
472 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
473 | 503 | | |
474 | 504 | | |
475 | 505 | | |
| |||
481 | 511 | | |
482 | 512 | | |
483 | 513 | | |
484 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
485 | 518 | | |
486 | 519 | | |
487 | 520 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
307 | 310 | | |
308 | 311 | | |
309 | 312 | | |
| |||
0 commit comments