Fixes 1 Bug and 8 Compiler Warnings (#10654)
* fixes: keys_map is initialized with itself [-Winit-self] * fixes: operation on repeats may be undefined [-Wsequence-point] * fixes: warning: suggest parentheses around && within || [-Wparentheses] * fixes: moving brim_points to itself [-Wself-move] * fixes: operation on unprintability may be undefined [-Wsequence-point] * fixes: extra tokens at end of #endif directive [-Wendif-labels] * fixes: converting to non-pointer type int from NULL [-Wconversion-null] * review result: simplifies fix 'operation on repeats may be undefined'
This commit is contained in:
committed by
GitHub
parent
8e84d21b7f
commit
aa8b8620da
@@ -1170,7 +1170,7 @@ ModelObject& ModelObject::assign_copy(ModelObject &&rhs)
|
||||
this->sla_support_points = std::move(rhs.sla_support_points);
|
||||
this->sla_points_status = std::move(rhs.sla_points_status);
|
||||
this->sla_drain_holes = std::move(rhs.sla_drain_holes);
|
||||
this->brim_points = std::move(brim_points);
|
||||
this->brim_points = std::move(rhs.brim_points);
|
||||
this->layer_config_ranges = std::move(rhs.layer_config_ranges);
|
||||
this->layer_height_profile = std::move(rhs.layer_height_profile);
|
||||
this->printable = std::move(rhs.printable);
|
||||
|
||||
Reference in New Issue
Block a user