missing override markers

This commit is contained in:
Zeno Rogue 2019-11-30 18:47:04 +01:00
parent 89cfc2bce1
commit 56e575369b
5 changed files with 9 additions and 9 deletions

View File

@ -441,7 +441,7 @@ transmatrix adjcell_matrix(heptagon *h, int d);
struct hrmap_archimedean : hrmap { struct hrmap_archimedean : hrmap {
map<gp::loc, struct cdata> eucdata; map<gp::loc, struct cdata> eucdata;
heptagon *origin; heptagon *origin;
heptagon *getOrigin() { return origin; } heptagon *getOrigin() override { return origin; }
hrmap_archimedean() { hrmap_archimedean() {
dynamicval<hrmap*> curmap(currentmap, this); dynamicval<hrmap*> curmap(currentmap, this);
@ -530,9 +530,9 @@ struct hrmap_archimedean : hrmap {
current_altmap = NULL; current_altmap = NULL;
} }
} }
void verify() { } void verify() override { }
heptagon *create_step(heptagon *h, int d) { heptagon *create_step(heptagon *h, int d) override {
DEBB(DF_GEOM, (format("%p.%d ~ ?\n", h, d))); DEBB(DF_GEOM, (format("%p.%d ~ ?\n", h, d)));
@ -607,7 +607,7 @@ struct hrmap_archimedean : hrmap {
return hnew; return hnew;
} }
void draw() { void draw() override {
dq::visited.clear(); dq::visited.clear();
dq::enqueue(centerover->master, cview()); dq::enqueue(centerover->master, cview());
@ -663,7 +663,7 @@ struct hrmap_archimedean : hrmap {
return gm * where; return gm * where;
} }
ld spin_angle(cell *c, int d) { ld spin_angle(cell *c, int d) override {
if(PURE) { if(PURE) {
auto& t1 = arcm::current.get_triangle(c->master, d-1); auto& t1 = arcm::current.get_triangle(c->master, d-1);
return -(t1.first + M_PI / c->type); return -(t1.first + M_PI / c->type);

View File

@ -508,7 +508,7 @@ EX namespace binary {
return -(d+2)*M_PI/4; return -(d+2)*M_PI/4;
} }
transmatrix adj(heptagon *h, int dir) { transmatrix adj(heptagon *h, int dir) override {
if(geometry == gBinaryTiling) switch(dir) { if(geometry == gBinaryTiling) switch(dir) {
case bd_up: return xpush(-log(2)); case bd_up: return xpush(-log(2));
case bd_left: return parabolic(-1); case bd_left: return parabolic(-1);

View File

@ -523,7 +523,7 @@ struct hrmap_crystal : hrmap_standard {
#if MAXMDIM >= 4 #if MAXMDIM >= 4
map<int, transmatrix> adjs; map<int, transmatrix> adjs;
transmatrix adj(heptagon *h, int d) { transmatrix adj(heptagon *h, int d) override {
auto co = hcoords[h]; auto co = hcoords[h];
int id = 0; int id = 0;
for(int a=0; a<4; a++) id = (2*id) + ((co[a]>>1) & 1); for(int a=0; a<4; a++) id = (2*id) + ((co[a]>>1) & 1);

View File

@ -166,7 +166,7 @@ EX namespace euclid3 {
return res; return res;
} }
void draw() { void draw() override {
dq::visited_by_matrix.clear(); dq::visited_by_matrix.clear();
dq::enqueue_by_matrix(centerover->master, cview() * master_relative(centerover, true)); dq::enqueue_by_matrix(centerover->master, cview() * master_relative(centerover, true));

View File

@ -869,7 +869,7 @@ EX namespace reg3 {
} }
} }
transmatrix adj(heptagon *h, int d) { transmatrix adj(heptagon *h, int d) override {
#if CAP_FIELD #if CAP_FIELD
if(quotient_map) return quotient_map->adj(h, d); if(quotient_map) return quotient_map->adj(h, d);
else else