mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
Consistently apply override
(and not virtual
) to overriding virtuals
Three functions were missing `override`, triggering `-Wsuggest-override` on Clang. Many functions had redundant `virtual ... override`.
This commit is contained in:
@@ -2370,7 +2370,7 @@ struct hrmap_rulegen : hrmap {
|
||||
|
||||
bool strict_tree_rules() override { return true; }
|
||||
|
||||
virtual bool link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) override {
|
||||
bool link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) override {
|
||||
auto& hts = treestates[h->fieldval];
|
||||
int psid = hts.sid;
|
||||
|
||||
|
Reference in New Issue
Block a user