Eliminate libnest2d warning on mac

This commit is contained in:
tamasmeszaros 2021-02-22 13:08:24 +01:00
parent 1dce483bc9
commit 9092033bea

View File

@ -836,7 +836,7 @@ public:
inline ItemIteratorOnly<It, size_t> execute(It from, It to) inline ItemIteratorOnly<It, size_t> execute(It from, It to)
{ {
auto infl = static_cast<Coord>(std::ceil(min_obj_distance_/2.0)); auto infl = static_cast<Coord>(std::ceil(min_obj_distance_/2.0));
if(infl > 0) std::for_each(from, to, [this, infl](Item& item) { if(infl > 0) std::for_each(from, to, [infl](Item& item) {
item.inflate(infl); item.inflate(infl);
}); });