Fixed several std::moves that had no effect, moved GCode data to heap
This commit is contained in:
parent
96a6c8538f
commit
e01d32d01a
7 changed files with 19 additions and 19 deletions
|
@ -139,7 +139,7 @@ inline Polylines to_polylines(std::vector<Points> &&paths)
|
|||
{
|
||||
Polylines out;
|
||||
out.reserve(paths.size());
|
||||
for (const Points &path : paths)
|
||||
for (Points &path : paths)
|
||||
out.emplace_back(std::move(path));
|
||||
return out;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue