mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 04:18:15 -05:00
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.
This commit is contained in:
@ -20,23 +20,21 @@ class KEvent final : public KAutoObjectWithSlabHeapAndContainer<KEvent, KAutoObj
|
||||
|
||||
public:
|
||||
explicit KEvent(KernelCore& kernel_);
|
||||
virtual ~KEvent();
|
||||
~KEvent() override;
|
||||
|
||||
void Initialize(std::string&& name);
|
||||
|
||||
virtual void Finalize() override;
|
||||
void Finalize() override;
|
||||
|
||||
virtual bool IsInitialized() const override {
|
||||
bool IsInitialized() const override {
|
||||
return initialized;
|
||||
}
|
||||
|
||||
virtual uintptr_t GetPostDestroyArgument() const override {
|
||||
uintptr_t GetPostDestroyArgument() const override {
|
||||
return reinterpret_cast<uintptr_t>(owner);
|
||||
}
|
||||
|
||||
static void PostDestroy(uintptr_t arg);
|
||||
|
||||
virtual KProcess* GetOwner() const override {
|
||||
KProcess* GetOwner() const override {
|
||||
return owner;
|
||||
}
|
||||
|
||||
@ -48,6 +46,8 @@ public:
|
||||
return writable_event;
|
||||
}
|
||||
|
||||
static void PostDestroy(uintptr_t arg);
|
||||
|
||||
private:
|
||||
KReadableEvent readable_event;
|
||||
KWritableEvent writable_event;
|
||||
|
Reference in New Issue
Block a user