mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Fix typos preventing compilation with CPPVER >= 11
This commit is contained in:
parent
d530bdba67
commit
381c88ce0c
2 changed files with 7 additions and 6 deletions
|
@ -104,12 +104,12 @@ inline void polygons_append(Polygons &dst, const ExPolygons &src)
|
|||
}
|
||||
|
||||
#if SLIC3R_CPPVER >= 11
|
||||
inline void polygons_append(Polygons &dst, ExPolygons &&src)
|
||||
inline void polygons_append(Polygons &dst, ExPolygons &&src)
|
||||
{
|
||||
dst.reserve(dst.size() + number_polygons(src));
|
||||
for (ExPolygons::const_iterator it = expolys.begin(); it != expolys.end(); ++ it) {
|
||||
for (ExPolygons::const_iterator it = src.begin(); it != src.end(); ++ it) {
|
||||
dst.push_back(std::move(it->contour));
|
||||
std::move(std::begin(it->contour), std::end(it->contour), std::back_inserter(dst));
|
||||
std::move(std::begin(it->holes), std::end(it->holes), std::back_inserter(dst));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue