1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

Add explicit and override consistently everywhere else. NFCI.

This commit is contained in:
Arthur O'Dwyer
2021-07-11 18:03:08 -04:00
parent a2989a3d39
commit 090e084dd4
6 changed files with 79 additions and 80 deletions

View File

@@ -64,16 +64,16 @@ struct hrmap_quotient : hrmap_standard {
void build();
hrmap_quotient() {
explicit hrmap_quotient() {
generate_connections();
build();
}
hrmap_quotient(const vector<int>& con) : connections(con) {
explicit hrmap_quotient(const vector<int>& con) : connections(con) {
build();
}
heptagon *getOrigin() { return allh[0]; }
heptagon *getOrigin() override { return allh[0]; }
~hrmap_quotient() {
for(int i=0; i<isize(allh); i++) {
@@ -82,7 +82,7 @@ struct hrmap_quotient : hrmap_standard {
}
}
vector<cell*>& allcells() { return celllist; }
vector<cell*>& allcells() override { return celllist; }
};
#endif