summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-04-18 21:02:30 +0200
committerGitHub <noreply@github.com>2026-04-18 21:02:30 +0200
commit74bb80544e8776750ee918fd4574a5b8eefd9774 (patch)
tree5ffec7ba44c2ef6f51e5f48fd4ba95c6fed51d09 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parent5f2641ba4df22eeaa4357981f9a0e7fc54e43f3a (diff)
parent95dec132030e72b74da6bc46966e4fe5e4e239c0 (diff)
Merge pull request #14565 from SuperSamus/cpp-argument-move-reference
Improve usage of std::move and const references parameters
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
index 05a3a99a05..8f7f4baf40 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
@@ -97,7 +97,7 @@ public:
// This is mandatory to use on device populations functions that can be called concurrently by
// more than one thread, or that are called by a single other thread.
// Without this, our devices list might end up in a mixed state.
- void PlatformPopulateDevices(std::function<void()> callback);
+ void PlatformPopulateDevices(const std::function<void()>& callback);
bool IsInit() const { return m_is_init; }
void UpdateInput();