mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
Fix -Wsuggest-override on Clang
This commit is contained in:
parent
ad47db4240
commit
2ec10ff7f2
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user