aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_resource_limit.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-29 02:49:07 -0400
committerLioncash <mathew1800@gmail.com>2021-05-29 02:58:32 -0400
commit7b2917b4e1f257a5bca3892be13bb6dcb1ed9820 (patch)
treed92bec1006154a64e5ca2b7bc9d46b4cf61ced95 /src/core/hle/kernel/k_resource_limit.h
parentd25648cb6cb2309135bc5555e042aac10db42300 (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_resource_limit.h')
-rw-r--r--src/core/hle/kernel/k_resource_limit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_resource_limit.h b/src/core/hle/kernel/k_resource_limit.h
index 0debbbb51..fab6005ff 100644
--- a/src/core/hle/kernel/k_resource_limit.h
+++ b/src/core/hle/kernel/k_resource_limit.h
@@ -37,10 +37,10 @@ class KResourceLimit final
public:
explicit KResourceLimit(KernelCore& kernel_);
- virtual ~KResourceLimit();
+ ~KResourceLimit() override;
void Initialize(const Core::Timing::CoreTiming* core_timing_);
- virtual void Finalize() override;
+ void Finalize() override;
s64 GetLimitValue(LimitableResource which) const;
s64 GetCurrentValue(LimitableResource which) const;