Skip to content

Commit 7cd683b

Browse files
committed
rogueviz:: more overrides, in sag and dhrg
1 parent a7465ac commit 7cd683b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rogueviz/dhrg/embedder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ struct dhrg_embedding : public rogueviz::embeddings::tiled_embedding {
234234
}
235235
}
236236

237-
virtual string name() { return "DHRG"; }
237+
virtual string name() override { return "DHRG"; }
238238
};
239239

240240
void graph_from_rv() {

rogueviz/sag/data.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void save_sag_solution(const fhstream& f);
5353

5454
struct sag_embedding : public rogueviz::embeddings::tiled_embedding {
5555

56-
virtual string name() { return "SAG"; }
56+
virtual string name() override { return "SAG"; }
5757

5858
pair<cell*, hyperpoint> as_location(int id) override {
5959

@@ -80,7 +80,7 @@ struct sag_embedding : public rogueviz::embeddings::tiled_embedding {
8080
return sagdist[sagid[i]][0];
8181
}
8282

83-
void save(fhstream& f) {
83+
void save(fhstream& f) override {
8484
if(!(state & SS_DATA)) throw hr_exception("save_sag_solution with no data");
8585
for(int i=0; i<isize(sagid); i++)
8686
println(f, vdata[i].name, ";", sagid[i]);

0 commit comments

Comments
 (0)