Use "final" and "override" where appropriate (#117)

This commit is contained in:
Tony Wasserka
2018-06-03 05:46:27 +00:00
committed by SciresM
parent bb636dc05a
commit edc099f026
14 changed files with 67 additions and 67 deletions

View File

@@ -23,10 +23,10 @@ enum DmntCmd_5X {
Dmnt_Cmd_5X_EnableDebugForApplication = 5,
};
class DebugMonitorService : IServiceObject {
class DebugMonitorService final : IServiceObject {
public:
virtual Result dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size);
virtual Result handle_deferred();
Result dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size) override;
Result handle_deferred() override;
private:
/* Actual commands. */
@@ -37,4 +37,4 @@ class DebugMonitorService : IServiceObject {
std::tuple<Result, CopiedHandle> enable_debug_for_tid(u64 tid);
std::tuple<Result, u64> get_application_process_id();
std::tuple<Result, CopiedHandle> enable_debug_for_application();
};
};