summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/touch_screen.h
diff options
context:
space:
mode:
authorGravatar Lioncash2021-12-13 09:05:23 -0500
committerGravatar Lioncash2021-12-13 09:05:50 -0500
commit2b92d22bda767c7c723935c357bea474f8e2d2f8 (patch)
treee732bb3b2062562c031ea54937514ca34ab6e6b1 /src/input_common/drivers/touch_screen.h
parentinput_engine: Remove callback clearing in constructor (diff)
downloadyuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.gz
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.xz
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.zip
input_engine: std::move engine name where applicable
We can allow the name to be moved into, allowing allocations to be avoided.
Diffstat (limited to '')
-rw-r--r--src/input_common/drivers/touch_screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/touch_screen.h b/src/input_common/drivers/touch_screen.h
index 25c11e8bf..bf395c40b 100644
--- a/src/input_common/drivers/touch_screen.h
+++ b/src/input_common/drivers/touch_screen.h
@@ -12,9 +12,9 @@ namespace InputCommon {
12 * A button device factory representing a keyboard. It receives keyboard events and forward them 12 * A button device factory representing a keyboard. It receives keyboard events and forward them
13 * to all button devices it created. 13 * to all button devices it created.
14 */ 14 */
15class TouchScreen final : public InputCommon::InputEngine { 15class TouchScreen final : public InputEngine {
16public: 16public:
17 explicit TouchScreen(const std::string& input_engine_); 17 explicit TouchScreen(std::string input_engine_);
18 18
19 /** 19 /**
20 * Signals that mouse has moved. 20 * Signals that mouse has moved.