From 634c6e24b0743b1116c52ce3f4c37fab32ebaa91 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Fri, 4 Oct 2019 22:48:53 +0000 Subject: service/hid: Remove unused system reference --- src/core/hle/service/hid/controllers/gesture.cpp | 2 +- src/core/hle/service/hid/controllers/gesture.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/hid/controllers/gesture.cpp b/src/core/hle/service/hid/controllers/gesture.cpp index 80da0a0d3..0ceabb5bb 100644 --- a/src/core/hle/service/hid/controllers/gesture.cpp +++ b/src/core/hle/service/hid/controllers/gesture.cpp @@ -11,7 +11,7 @@ namespace Service::HID { constexpr std::size_t SHARED_MEMORY_OFFSET = 0x3BA00; Controller_Gesture::Controller_Gesture(Core::System& system) - : ControllerBase(system), system(system) {} + : ControllerBase(system) {} Controller_Gesture::~Controller_Gesture() = default; void Controller_Gesture::OnInit() {} diff --git a/src/core/hle/service/hid/controllers/gesture.h b/src/core/hle/service/hid/controllers/gesture.h index 396897527..f650b8338 100644 --- a/src/core/hle/service/hid/controllers/gesture.h +++ b/src/core/hle/service/hid/controllers/gesture.h @@ -59,6 +59,5 @@ private: std::array gesture_states; }; SharedMemory shared_memory{}; - Core::System& system; }; } // namespace Service::HID -- cgit v1.2.3