Eliminate libnest2d warning on mac
This commit is contained in:
parent
1dce483bc9
commit
9092033bea
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user