aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_client_session.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-03-13 09:16:16 -0400
committerGitHub <noreply@github.com>2023-03-13 09:16:16 -0400
commit1f952f6ac9e3aca3dba8e4286fe937616081a767 (patch)
treeca57513605bdef4767762614c074ca90b7791575 /src/core/hle/kernel/k_client_session.h
parent54c359d1e3915653ce07a26e0e574aca5a331cb1 (diff)
parentc352381ce9196765f7df2b3ff4f6ea1f349781fb (diff)
Merge pull request #9936 from liamwhite/m_this
kernel: use consistent style
Diffstat (limited to 'src/core/hle/kernel/k_client_session.h')
-rw-r--r--src/core/hle/kernel/k_client_session.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/core/hle/kernel/k_client_session.h b/src/core/hle/kernel/k_client_session.h
index b4a19c546..9b62e55e4 100644
--- a/src/core/hle/kernel/k_client_session.h
+++ b/src/core/hle/kernel/k_client_session.h
@@ -30,20 +30,19 @@ class KClientSession final
KERNEL_AUTOOBJECT_TRAITS(KClientSession, KAutoObject);
public:
- explicit KClientSession(KernelCore& kernel_);
+ explicit KClientSession(KernelCore& kernel);
~KClientSession() override;
- void Initialize(KSession* parent_session_, std::string&& name_) {
+ void Initialize(KSession* parent) {
// Set member variables.
- parent = parent_session_;
- name = std::move(name_);
+ m_parent = parent;
}
void Destroy() override;
- static void PostDestroy([[maybe_unused]] uintptr_t arg) {}
+ static void PostDestroy(uintptr_t arg) {}
KSession* GetParent() const {
- return parent;
+ return m_parent;
}
Result SendSyncRequest();
@@ -51,7 +50,7 @@ public:
void OnServerClosed();
private:
- KSession* parent{};
+ KSession* m_parent{};
};
} // namespace Kernel