diff --git a/binary-tiling.cpp b/binary-tiling.cpp index 94aa40e3..c92f53ce 100644 --- a/binary-tiling.cpp +++ b/binary-tiling.cpp @@ -508,7 +508,7 @@ EX namespace binary { return res; } - ld spin_angle(cell *c, int d) { + ld spin_angle(cell *c, int d) override { if(WDIM == 3 || geometry == gBinary4 || geometry == gTernary) { return hrmap::spin_angle(c, d); } @@ -545,7 +545,7 @@ EX namespace binary { const transmatrix iadj(heptagon *h, int dir) { heptagon *h1 = h->cmove(dir); return adj(h1, h->c.spin(dir)); } - transmatrix adj(cell *c, int dir) { return adj(c->master, dir); } + transmatrix adj(cell *c, int dir) override { return adj(c->master, dir); } void virtualRebase(heptagon*& base, transmatrix& at) override { diff --git a/cell.cpp b/cell.cpp index dc41a8ce..4a7b6092 100644 --- a/cell.cpp +++ b/cell.cpp @@ -73,10 +73,10 @@ struct hrmap_standard : hrmap { void draw() override; transmatrix relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hint) override; heptagon *create_step(heptagon *h, int direction) override; - transmatrix adj(cell *c, int d); + transmatrix adj(cell *c, int d) override; transmatrix adj(heptagon *h, int d); transmatrix iadj(heptagon *h, int d) { return adj(h->cmove(d), h->c.spin(d)); } - ld spin_angle(cell *c, int d); + ld spin_angle(cell *c, int d) override; double spacedist(cell *c, int i) override; }; diff --git a/nonisotropic.cpp b/nonisotropic.cpp index 39dfecd8..180ee693 100644 --- a/nonisotropic.cpp +++ b/nonisotropic.cpp @@ -1060,8 +1060,8 @@ EX namespace hybrid { for(auto& p: at) tailored_delete(p.second); } - virtual transmatrix spin_to(cell *c, int d, ld bonus) { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_to(c, d, bonus); }); } - virtual transmatrix spin_from(cell *c, int d, ld bonus) { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_from(c, d, bonus); }); } + virtual transmatrix spin_to(cell *c, int d, ld bonus) override { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_to(c, d, bonus); }); } + virtual transmatrix spin_from(cell *c, int d, ld bonus) override { c = get_where(c).first; return in_underlying([&] { return currentmap->spin_from(c, d, bonus); }); } };