Fixed several std::moves that had no effect, moved GCode data to heap

This commit is contained in:
Lukas Matena 2021-09-17 16:04:27 +02:00
parent 96a6c8538f
commit e01d32d01a
7 changed files with 19 additions and 19 deletions

View file

@ -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;
}