summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/controller.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-27 00:36:58 +0100
committerLioncash <mathew1800@gmail.com>2020-10-27 02:06:15 +0100
commit6b5f56532451631b63a57ca858dabc111b05711b (patch)
tree020a521bc01f9ace59eaa94df9f13b6ffd0cc465 /src/core/frontend/applets/controller.h
parentgeneral: Use template deduction guides for lock_guard (diff)
downloadyuzu-6b5f56532451631b63a57ca858dabc111b05711b.tar
yuzu-6b5f56532451631b63a57ca858dabc111b05711b.tar.gz
yuzu-6b5f56532451631b63a57ca858dabc111b05711b.tar.bz2
yuzu-6b5f56532451631b63a57ca858dabc111b05711b.tar.lz
yuzu-6b5f56532451631b63a57ca858dabc111b05711b.tar.xz
yuzu-6b5f56532451631b63a57ca858dabc111b05711b.tar.zst
yuzu-6b5f56532451631b63a57ca858dabc111b05711b.zip
Diffstat (limited to 'src/core/frontend/applets/controller.h')
-rw-r--r--src/core/frontend/applets/controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/frontend/applets/controller.h b/src/core/frontend/applets/controller.h
index 3e49cdbb9..dff71d8d9 100644
--- a/src/core/frontend/applets/controller.h
+++ b/src/core/frontend/applets/controller.h
@@ -38,7 +38,7 @@ public:
virtual ~ControllerApplet();
virtual void ReconfigureControllers(std::function<void()> callback,
- ControllerParameters parameters) const = 0;
+ const ControllerParameters& parameters) const = 0;
};
class DefaultControllerApplet final : public ControllerApplet {
@@ -47,7 +47,7 @@ public:
~DefaultControllerApplet() override;
void ReconfigureControllers(std::function<void()> callback,
- ControllerParameters parameters) const override;
+ const ControllerParameters& parameters) const override;
private:
Service::SM::ServiceManager& service_manager;