Commit 3cc1031
committed
[Debuginfod] Fix warnings
This patch fixes:
llvm/lib/Debuginfod/Debuginfod.cpp:592:12: error: moving a local
object in a return statement prevents copy elision
[-Werror,-Wpessimizing-move]
llvm/lib/Debuginfod/Debuginfod.cpp:613:12: error: moving a local
object in a return statement prevents copy elision
[-Werror,-Wpessimizing-move]1 parent fb866f9 commit 3cc1031
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
0 commit comments