mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 19:47:54 +00:00
Eliminate -Woverloaded-virtual warnings from Clang. NFCI.
This commit is contained in:
@@ -197,7 +197,7 @@ struct hrmap_asonov : hrmap {
|
||||
|
||||
transmatrix adj(heptagon *h, int i) override { return adjmatrix(i); }
|
||||
|
||||
virtual transmatrix relative_matrix(heptagon *h2, heptagon *h1, const hyperpoint& hint) override {
|
||||
transmatrix relative_matrixh(heptagon *h2, heptagon *h1, const hyperpoint& hint) override {
|
||||
for(int a=0; a<S7; a++) if(h2 == h1->move(a)) return adjmatrix(a);
|
||||
return coord_to_matrix(coords[h2], coords[h1]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user