missing override attributes

This commit is contained in:
Zeno Rogue 2019-11-15 14:24:17 +01:00
parent 9bfe53fb48
commit 89225f4632
3 changed files with 6 additions and 6 deletions

View File

@ -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 {

View File

@ -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;
};

View File

@ -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); }); }
};