mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 23:15:54 +08:00
Fixed obvious bug in move operator, discovered by clang lint ran by Tamas.
This commit is contained in:
parent
41a0e270ac
commit
0625788583
@ -3186,7 +3186,7 @@ struct MyLayerExtruded
|
|||||||
MyLayerExtruded& operator=(MyLayerExtruded &&rhs) {
|
MyLayerExtruded& operator=(MyLayerExtruded &&rhs) {
|
||||||
this->layer = rhs.layer;
|
this->layer = rhs.layer;
|
||||||
this->extrusions = std::move(rhs.extrusions);
|
this->extrusions = std::move(rhs.extrusions);
|
||||||
this->m_polygons_to_extrude = std::move(m_polygons_to_extrude);
|
this->m_polygons_to_extrude = std::move(rhs.m_polygons_to_extrude);
|
||||||
rhs.layer = nullptr;
|
rhs.layer = nullptr;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user