1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-12 07:16:01 +00:00

Fix more instances of Clang's -Wunqualified-std-cast-call

This commit is contained in:
Arthur O'Dwyer
2022-07-05 13:23:05 -04:00
parent 85753d240f
commit 0ae74aad62
17 changed files with 32 additions and 32 deletions

View File

@@ -148,7 +148,7 @@ void bitruncate() {
cells[id].neid[(k+5)%6] = bitruncated_id[make_pair(i, next)];
}
}
cells[i].neid = move(newnei);
cells[i].neid = std::move(newnei);
}
make_cells_of_heptagon();
compute_jpoints();
@@ -241,7 +241,7 @@ bool step(int delta) {
ld val = hdist(h, relmatrices[p.owner] * p.p);
if(val < mindist) mindist = val;
}
if(mindist > bestval) bestval = mindist, s.owner = c, s.p = h, s.relmatrices = move(relmatrices);
if(mindist > bestval) bestval = mindist, s.owner = c, s.p = h, s.relmatrices = std::move(relmatrices);
}
}
make_cells_of_heptagon();