mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 10:48:04 +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:
2
reg3.cpp
2
reg3.cpp
@@ -2199,7 +2199,7 @@ EX namespace reg3 {
|
||||
return relative_matrix_recursive(h2, h1);
|
||||
}
|
||||
|
||||
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 {
|
||||
return ruleset_link_alt(h, alt, firststate, dir);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user