mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 06:27:17 +00:00
rogueviz:subquotient:: removed a C++17-ism
This commit is contained in:
parent
9b6d78b7ed
commit
7d13a593e9
@ -54,7 +54,9 @@ void create_subquotient(int qty = -1, int id = 0) {
|
||||
|
||||
map<int, int> by_cycle;
|
||||
|
||||
for(auto [s, wb]: vmap) {
|
||||
for(auto swb: vmap) {
|
||||
auto& s = swb.first;
|
||||
auto& wb = swb.second;
|
||||
if(s == wb.at) { vertex++; continue; }
|
||||
bool is_edge = false;
|
||||
for(int j=0; j<s->type; j++) if(s->move(j) == wb.at && (wb+j).peek() == s)
|
||||
|
Loading…
Reference in New Issue
Block a user