aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_auto_object.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-08 12:11:36 -0400
committerLioncash <mathew1800@gmail.com>2021-05-08 12:33:26 -0400
commit2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d (patch)
treeda5cbd25dcb367559c1bf619a7438fa1e18ff600 /src/core/hle/kernel/k_auto_object.h
parentfaa067f175cbf5e916ed75776817f0046e6731c4 (diff)
kernel: Eliminate variable shadowing
Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases.
Diffstat (limited to 'src/core/hle/kernel/k_auto_object.h')
-rw-r--r--src/core/hle/kernel/k_auto_object.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/hle/kernel/k_auto_object.h b/src/core/hle/kernel/k_auto_object.h
index 765e46670..bc18582be 100644
--- a/src/core/hle/kernel/k_auto_object.h
+++ b/src/core/hle/kernel/k_auto_object.h
@@ -177,7 +177,7 @@ class KAutoObjectWithListContainer;
class KAutoObjectWithList : public KAutoObject {
public:
- explicit KAutoObjectWithList(KernelCore& kernel_) : KAutoObject(kernel_), kernel(kernel_) {}
+ explicit KAutoObjectWithList(KernelCore& kernel_) : KAutoObject(kernel_) {}
static int Compare(const KAutoObjectWithList& lhs, const KAutoObjectWithList& rhs) {
const u64 lid = lhs.GetId();
@@ -204,11 +204,7 @@ public:
private:
friend class KAutoObjectWithListContainer;
-private:
Common::IntrusiveRedBlackTreeNode list_node;
-
-protected:
- KernelCore& kernel;
};
template <typename T>