From 2c57f0fbd576c47887f2707924a3023802a17e46 Mon Sep 17 00:00:00 2001 From: Chloe Marcec Date: Mon, 25 Jan 2021 23:13:37 +1100 Subject: Omit system reference --- src/core/hle/service/ptm/psm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/ptm/psm.cpp b/src/core/hle/service/ptm/psm.cpp index 4f98e15ef..a7cfccda3 100644 --- a/src/core/hle/service/ptm/psm.cpp +++ b/src/core/hle/service/ptm/psm.cpp @@ -117,7 +117,7 @@ private: class PSM final : public ServiceFramework { public: - explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"}, system(system_) { + explicit PSM(Core::System& system_) : ServiceFramework{system_, "psm"} { // clang-format off static const FunctionInfo functions[] = { {0, &PSM::GetBatteryChargePercentage, "GetBatteryChargePercentage"}, @@ -181,7 +181,6 @@ private: u32 battery_charge_percentage{100}; // 100% ChargerType charger_type{ChargerType::RegularCharger}; - Core::System& system; }; void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) { -- cgit v1.2.3