diff --git a/arbitrile.cpp b/arbitrile.cpp index 29521ff3..f61bb17a 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -380,7 +380,7 @@ void connection_debugger() { string cap = its(k) + primes(last.second) + " -> " + its(get<0>(con)) + primes(get<1>(con)) + (get<2>(con) ? " (m) " : ""); dialog::addSelItem(cap, "go", '0' + k); - dialog::add_action([k, last, &sh, con] { + dialog::add_action([k, last, con] { debug_polys.emplace_back(last.first * get_adj(debugged, last.second, k, -1), get<0>(con)); }); @@ -689,4 +689,4 @@ EX void choose() { } EX } -} \ No newline at end of file +}