Fix -Wsuggest-override on Clang

This commit is contained in:
Arthur O'Dwyer 2022-07-05 13:19:39 -04:00
parent ad47db4240
commit 2ec10ff7f2
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ struct hrmap_rewrite : hrmap_hyperbolic {
map<heptagon*, pair<heptagon*, string> > asg;
map<pair<heptagon*, string>, heptagon*> asg_rev;
heptagon *create_step(heptagon *h, int direction) {
heptagon *create_step(heptagon *h, int direction) override {
if(h->move(direction)) return h->move(direction);
if(asg.empty()) { asg[h] = {h, start}; h->zebraval = 0; }