Skip to content

Commit

Permalink
Eliminate libnest2d warning on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasmeszaros committed Feb 22, 2021
1 parent 1dce483 commit 9092033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libnest2d/include/libnest2d/nester.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ class _Nester {
inline ItemIteratorOnly<It, size_t> execute(It from, It to)
{
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);
});

Expand Down

0 comments on commit 9092033

Please sign in to comment.