From da6c65bf3b83fa1cfe5da5dc5e43ec49b2786b52 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 6 Nov 2025 22:08:27 -0600 Subject: Common: Remove the string parameters from the HookableEvent interface. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index 19ac7d3690..7393de9950 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -415,10 +415,9 @@ bool ControllerInterface::IsMouseCenteringRequested() const // Returns a handle for later removing the callback. Common::EventHook -ControllerInterface::RegisterDevicesChangedCallback(std::string_view name, - Common::HookableEvent<>::CallbackType callback) +ControllerInterface::RegisterDevicesChangedCallback(Common::HookableEvent<>::CallbackType callback) { - return m_devices_changed_event.Register(std::move(callback), name); + return m_devices_changed_event.Register(std::move(callback)); } // Invoke all callbacks that were registered -- cgit v1.2.3