/run/build/PrusaSlicer/src/libslic3r/SLA/SupportIslands/VectorUtils.hpp:34:13: error: ‘iota’ was not declared in this scope
   34 |         iota(idx.begin(), idx.end(), 0);
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Filip Sykala - NTB T15p 2024-10-18 09:46:35 +02:00 committed by Lukas Matena
parent 8794099682
commit 35948c0361

View File

@ -3,6 +3,7 @@
#include <vector>
#include <algorithm>
#include <numeric> // iota
#include <functional>
namespace Slic3r::sla {
@ -31,7 +32,7 @@ public:
// initialize original index locations
std::vector<size_t> idx(data.size());
iota(idx.begin(), idx.end(), 0);
std::iota(idx.begin(), idx.end(), 0);
// values used for sort
std::vector<T2> v;