From aa44eb639bd17b74a67cd614a0c329b4d8d61853 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 11 Mar 2019 10:28:16 -0400 Subject: 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). --- src/core/hle/service/sm/sm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service') 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(port->hle_handler); + return std::static_pointer_cast(port->GetHLEHandler()); } void InvokeControlRequest(Kernel::HLERequestContext& context); -- cgit v1.2.3