diff options
| author | Lioncash <mathew1800@gmail.com> | 2021-05-29 02:49:07 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2021-05-29 02:58:32 -0400 |
| commit | 7b2917b4e1f257a5bca3892be13bb6dcb1ed9820 (patch) | |
| tree | d92bec1006154a64e5ca2b7bc9d46b4cf61ced95 /src/core/hle/kernel/k_process.h | |
| parent | d25648cb6cb2309135bc5555e042aac10db42300 (diff) | |
kernel: Add missing override specifiers
Over the course of the kernel refactoring a tiny bit of missing
overrides slipped through review, so we can add these.
While we're at it, we can remove redundant virtual keywords where
applicable as well.
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
| -rw-r--r-- | src/core/hle/kernel/k_process.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h index 123d71cd3..c0656b9af 100644 --- a/src/core/hle/kernel/k_process.h +++ b/src/core/hle/kernel/k_process.h @@ -331,19 +331,19 @@ public: void LoadModule(CodeSet code_set, VAddr base_addr); - virtual bool IsInitialized() const override { + bool IsInitialized() const override { return is_initialized; } static void PostDestroy([[maybe_unused]] uintptr_t arg) {} - virtual void Finalize(); + void Finalize() override; - virtual u64 GetId() const override final { + u64 GetId() const override { return GetProcessID(); } - virtual bool IsSignaled() const override; + bool IsSignaled() const override; void PinCurrentThread(); void UnpinCurrentThread(); |
