diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-03-11 10:28:16 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-03-11 10:41:05 -0400 |
| commit | aa44eb639bd17b74a67cd614a0c329b4d8d61853 (patch) | |
| tree | 17aaac37cd8aa703bdb2c3a76c1c276ef9c57aa3 /src/core/hle/service/sm/sm.h | |
| parent | 0aa824b12f61c7c25e909ef181642e6d24ddfd0f (diff) | |
kernel/server_port: Make data members private
With this, all kernel objects finally have all of their data members
behind an interface, making it nicer to reason about interactions with
other code (as external code no longer has the freedom to totally alter
internals and potentially messing up invariants).
Diffstat (limited to 'src/core/hle/service/sm/sm.h')
| -rw-r--r-- | src/core/hle/service/sm/sm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h index bef25433e..b9d6381b4 100644 --- a/src/core/hle/service/sm/sm.h +++ b/src/core/hle/service/sm/sm.h @@ -67,7 +67,7 @@ public: if (port == nullptr) { return nullptr; } - return std::static_pointer_cast<T>(port->hle_handler); + return std::static_pointer_cast<T>(port->GetHLEHandler()); } void InvokeControlRequest(Kernel::HLERequestContext& context); |
