Commit 841664f
Vladimir 'virtul' Ivannikov
fix swap of eastl::list<unique_ptr[]>
...or any other type that has deleted dtor.
```
const this_type temp(*this); // << This would attept to call copy ctor of unique_ptr<> which is explicitly deleted
*this = x;
x = temp;
```1 parent 7fadbf0 commit 841664f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1575 | 1575 | | |
1576 | 1576 | | |
1577 | 1577 | | |
1578 | | - | |
1579 | | - | |
| 1578 | + | |
| 1579 | + | |
1580 | 1580 | | |
1581 | 1581 | | |
1582 | 1582 | | |
| |||
0 commit comments