Skip to content

Commit 55b0106

Browse files
committed
fix this again
1 parent f104629 commit 55b0106

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/rectpack2D/finders_interface.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ namespace rectpack2D {
127127
}
128128

129129
return find_best_packing_impl<empty_spaces_type, order_type>(
130-
[ith_order](auto callback) {
131-
constexpr auto count_orders = 1 + sizeof...(Comparators);
130+
[ith_order, count_orders](auto callback) {
132131
for (std::size_t i = 0; i < count_orders; ++i) {
133132
callback(ith_order(i));
134133
}

0 commit comments

Comments
 (0)