1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

Silence an unused-lambda-capture warning.

This commit is contained in:
Arthur O'Dwyer 2020-05-03 15:11:49 -04:00
parent cef94da632
commit f56e0fe2e3

View File

@ -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));
});