Skip to content

Commit 7d13a59

Browse files
committed
rogueviz:subquotient:: removed a C++17-ism
1 parent 9b6d78b commit 7d13a59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rogueviz/subquotient.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ void create_subquotient(int qty = -1, int id = 0) {
5454

5555
map<int, int> by_cycle;
5656

57-
for(auto [s, wb]: vmap) {
57+
for(auto swb: vmap) {
58+
auto& s = swb.first;
59+
auto& wb = swb.second;
5860
if(s == wb.at) { vertex++; continue; }
5961
bool is_edge = false;
6062
for(int j=0; j<s->type; j++) if(s->move(j) == wb.at && (wb+j).peek() == s)

0 commit comments

Comments
 (0)