mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 20:32:01 +08:00
Fix:
/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:
parent
8794099682
commit
35948c0361
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user