Commit 36818ed
Anatoly Scheglov
librbd: make librbd::Image moveable
Adds move constructor and move assignment operator to the librbd::Image.
Also marks copy ctor/assign op as deleted, and makes them public for better compiler diagnostics.
Signed-off-by: Anatoly Scheglov <finch@mts.ru>1 parent 84129cd commit 36818ed
2 files changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
535 | 543 | | |
536 | 544 | | |
537 | 545 | | |
| |||
854 | 862 | | |
855 | 863 | | |
856 | 864 | | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | 865 | | |
861 | 866 | | |
862 | 867 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
1609 | 1610 | | |
1610 | 1611 | | |
1611 | 1612 | | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
1612 | 1624 | | |
1613 | 1625 | | |
1614 | 1626 | | |
| |||
0 commit comments