2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

driver: Add missing override specifiers where applicable

Adds missing override specifiers to enforce correct virtual member
function signatures.
This commit is contained in:
Lioncash
2019-08-19 22:34:12 -04:00
parent 1fb18dbf26
commit c390f3d489
7 changed files with 18 additions and 18 deletions

View File

@@ -112,7 +112,7 @@ public:
help.endWrap();
}
hecl::SystemString toolName() const { return _SYS_STR("extract"); }
hecl::SystemString toolName() const override { return _SYS_STR("extract"); }
static void _recursivePrint(int level, hecl::Database::IDataSpec::ExtractReport& rep) {
for (int l = 0; l < level; ++l)
@@ -129,7 +129,7 @@ public:
_recursivePrint(level + 1, child);
}
int run() {
int run() override {
if (m_specPasses.empty()) {
if (XTERM_COLOR)
fmt::print(fmt(_SYS_STR("" RED BOLD "NOTHING TO EXTRACT" NORMAL "\n")));